mateusjunges / trackable-jobs-for-laravel

This package allows you to easily track your laravel jobs!
https://mateusjunges.com
MIT License
280 stars 16 forks source link

[v1.5.x] Allow to dispatch jobs without tracking #32

Closed mateusjunges closed 2 years ago

mateusjunges commented 2 years ago

This PR introduces a new method called dispatchWithoutTracking, which, as the name suggests, will dispatch the job without tracking it.

You can use it like this:

MyJob::dispatchWithoutTracking();

MyJob::dispatchWithoutTracking(User::first());

This closes #8

mateusjunges commented 2 years ago

Ping @michabbb and @johnnyfreeman

michabbb commented 2 years ago

it's very cool to see progress here, but I am sorry, I am currently not using this package. but I am currently working on something. when I get to the part where the worker comes into play, I am happy to test your package!