Abstract
applyGiven a FactoryKey or similar, return the result of the factory function after applying args.
Type of the factory key
A this-type bound enforcing that K is safe to request
The factory's parameter list type
The factory's return type
A FactoryKey or similar key that resolves to a function
Rest
...args: ArgsGiven a FactoryKey or similar, asynchronously return the result of the factory function after applying args.
It is safe to call method when some dependencies cannot be resolved synchronously.
Type of the factory key
A this-type bound enforcing that K is safe to request
The factory's parameter list type
The factory's return type
A FactoryKey or similar key that resolves to a possibly async function
Rest
...args: ArgsReturns a Container with this
applied to it.
Calls the given function with the requested dependencies and returns its output.
A this-type bound enforcing that K is safe to request
A key object specifying which dependencies to request
A function that accepts the dependencies specified by deps
Asynchronously calls the given function with the requested dependencies and returns its output.
It is safe to call method when some dependencies cannot be resolved synchronously.
A this-type bound enforcing that K is safe to request
A key object specifying which dependencies to request
A possibly async function that accepts the dependencies specified by deps
A promise resolving to the output of f
Requests the dependency specified by the given key, statically checking that the dependency is safe to request.
The requested dependency
Asynchronously requests the dependency specified by the given key, statically checking that the dependency is safe to request.
It is safe to call method when some dependencies cannot be resolved synchronously.
A promise resolving to the requested dependency
Asynchronously requests the dependency specified by the given key, without statically checking that the dependency is safe to request.
A promise resolving to the requested dependency
Requests the dependency specified by the given key, without statically checking that the dependency is safe to request.
A key specifying the dependency to request
The requested dependency
Generated using TypeDoc
A pre-defined set of resource providers and scopes that can be applied to any Container.
See
The Module function