mirror of
https://github.com/koreader/koreader
synced 2024-11-16 06:12:56 +00:00
962fd02c98
A BackgroundRunner plugin instance will stop running (rescheduling a check every 2 seconds) when there is no (or no more) job to run. Clients of this service now have to emit an event after adding a job into PluginShare.backgroundJobs, so an already loaded but stopped BackgroundRunner can notice it and start running again. |
||
---|---|---|
.. | ||
background_task_plugin.lua | ||
switch_plugin.lua |