@microsoft/fast-foundation > ResolverBuilder > transient
ResolverBuilder.transient() method
Creates a resolver that creates a new instance for every dependency request.
Signature:transient(value: Constructable): Resolver<K>;
Parameters
Parameter | Type | Description |
---|---|---|
value | Constructable | The type to create instances of. |
Resolver<K>
- The resolver.