2017 © Pedro Peláez
 

package laravel-job-visibility

Make job instance visibility in queue events

image

tochka-developers/laravel-job-visibility

Make job instance visibility in queue events

  • Friday, May 18, 2018
  • by lexxksb
  • Repository
  • 2 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 117 % Grown

The README.md

laravel-job-visibility

Позволяет получать в событиях очередей экземпляр выполняемой задачи. Для получения можно воспользоваться следующим примером:, (*1)

Queue::after(function (JobProcessed $event) {
    $job = app('QueueCurrentJob');
    // $job - экземпляр выполняемой задачи, т.е. сохраняет состояние после выполнения задачи
    // ...

    return true;
});

The Versions

18/05 2018

dev-master

9999999-dev

Make job instance visibility in queue events

  Sources   Download

The Requires

 

by Babushkin Pavel

18/05 2018

v0.1.2

0.1.2.0

Make job instance visibility in queue events

  Sources   Download

The Requires

 

by Babushkin Pavel

03/04 2018

v0.1.0

0.1.0.0

Make job instance visibility in queue events

  Sources   Download

The Requires

 

by Babushkin Pavel

03/04 2018

v0.1.1

0.1.1.0

Make job instance visibility in queue events

  Sources   Download

The Requires

 

by Babushkin Pavel