Methods
Static get
- get(): null | PromiseConstructor
Returns null | PromiseConstructor
Static set
- set(lib: null | PromiseConstructor): void
Parameters
lib: null | PromiseConstructor
Returns void
Static validate
- validate(lib: unknown): lib is PromiseConstructor
Parameters
Returns lib is PromiseConstructor
Global promise store allowing user-provided promises
Setting a custom promise library is deprecated the next major version will use the global Promise constructor only.