Split module loading into a separate startup task

Still a work in progress.
This commit is contained in:
Jermolene
2014-05-03 17:10:55 +01:00
parent 1c82348edb
commit 749582ede0
5 changed files with 43 additions and 27 deletions
@@ -13,7 +13,7 @@ Modules with their ''module-type'' field set to `startup`:
* Must expose a `startup` function
** For synchronous startup modules the startup function is called as `startup()`, asynchronous modules are passed a callback they must invoke on completion: `startup(callback)`
* May expose a `name` property that is used to identify the task
* May expose a `dependencies` property containing an array of names of dependent tasks that must be run before this one
* May expose a `after` property containing an array of names of dependent tasks that must be run before this one
! Startup Processing