Methods
moduleIsExclusive()
Return whether this module is exclusive.
modulePerformInjection(requestFn)
Inject objects into this module.
Parameters:
Name | Type | Description |
---|---|---|
requestFn |
* |
moduleWasSetUp()
Return whether this module was set up.
postSetup()
Called after all modules are set up. Useful with some use cases. Async methods are supported.
setup()
Setup this module. Called after all dependencies are set up.
Optional dependencies are not guaranteed to be set up.
Async methods are supported.
As a library user you should define your own setup
method and call super.setup() (no await needed).
teardown()
Teardown this module. Called when everything should be closed and cleaned up.
Starts from the most dependent modules.
Async teardown is supported.
As a library user you should define your own teardown
method and call super.teardown() (no await needed)