ScopeOptions
interface ScopeOptions {
scope?: Scope
durable?: boolean
}
Child interfaces
See also
Properties
Property | Description |
---|---|
scope?: Scope
|
Specifies the lifetime of an injected Provider or Controller. |
durable?: boolean
|
Flags provider as durable. This flag can be used in combination with custom context id factory strategy to construct lazy DI subtrees. This flag can be used only in conjunction with scope = Scope.REQUEST. |