Abstract
Protected
constructorProtected
Readonly
_resolveOptional
error?: unknownOptional
factory?: Func<T>Optional
value?: TWill return true if allowReset is true and a value factory still exists.
The error value if previous faulted.
True if the resolution faulted.
Returns true if the value has been created.
Protected
_onProtected
getGenerated using TypeDoc
The ResolverBase class handles resolving a factory method and detects recursion. Since JS does not have a synchronization mechanism (lock or otherwise) we have to prevent getValue from double triggering the value factory (optimistic concurrency) or returning return a value that is intermediate between resolving and resolved.