A promise which never resolves
Example:
import { NEVER } from '@thalesrc/js-utils/promise'; function foo(promise = NEVER) { promise.then(val => { ... }); }
Creates a promise which never resolves
import { never } from '@thalesrc/js-utils/promise'; function foo(promise) { promise = promise || never(); promise.then(val => { ... }); }
the promise which never resolves
Generated using TypeDoc
A promise which never resolves
Example:
import { NEVER } from '@thalesrc/js-utils/promise'; function foo(promise = NEVER) { promise.then(val => { ... }); }