0

lazy tasks

Klaus Hougesen 10 years ago 0

Create a way for both plugin developers and users to run "lazy task" at various points. for instance: register lazy task in a queue and execute on startup once, every 10 minutes, every day etc.After typing and nothing happens for 10 minutes etc.


Example: 

Package Manager could use this to register an "update repository as stream when nothing is happening" and stop as soon as something is happening (it would be up to the author to continue from last load index or begin again).


User build lets say just compiling some .less to .css or linting to a log, could be registered as a lazy task . run when available, run once anytime after startup 


etc.