You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -61,7 +60,7 @@ class SleepingWorker extends Worker
61
60
It takes care of all maintenance, payload dispatching and life-cycle of workers. Allows you change the size of the pool dynamically and other useful stuff.
62
61
63
62
# Simple usage
64
-
For example, you want to background downloading work. Let's use `BackgroundWork` class to background it and show progress for user (or store in DB/...).
63
+
For example, you want to just background downloading work. Let's use `wapmorgan\Threadable\BackgroundWork` class to background it and show progress for user (or store in DB/...).
65
64
66
65
Everything you need to do:
67
66
1. Prepare payloads for `DownloadWorker`
@@ -72,6 +71,10 @@ Everything you need to do:
72
71
`DownloadWorker` needs an array with `source` and `target` elements. Prepare it:
0 commit comments