Creates a new AwilixProvider instance
Configuration options
Creates a child scope (child container) Useful for HTTP requests, transactions, or isolated contexts
New scoped provider instance
Releases provider resources Called during application cleanup or shutdown
Returns the underlying Awilix container instance
The AwilixContainer instance
Registers a class in the container
The type of the class instance
Token (symbol or class) to register under
Optionalimpl: Constructor<T>Class to instantiate (optional if token is a class)
Optionallifecycle: ProviderLifecycleInstance lifecycle (Singleton, Transient, or Scoped)
Registers a factory function in the container
The type of the value produced by the factory
Symbol token to register the factory under
Function that creates the instance (receives the provider to resolve dependencies)
Registers a static value in the container
The type of the value
Symbol token to register the value under
The value to register
StaticcreateCreates a pre-initialized provider synchronously
The awilix module import
Configuration options
Fully initialized AwilixProvider instance
Awilix adapter implementing the ContainerProvider interface
Provides integration between WireDI and Awilix, allowing you to use Awilix as your DI container while benefiting from WireDI's configuration and validation features.