Push fn
into the after list.
Push fn
into the before list.
Return if there is a main function or not.
Register a "main" function.
Execute all registered functions. Keep in mind that the result of the "main" function will be supplied to the last callback.
Generated using TypeDoc
Register a function in either the "after before" list or in the "before after" list, depending if a "main" function exists.
[[Batch#hasMain]]
[[Batch#main]]