DeferredSequence.reject()method
reject(reason: unknown): void
Reject the current deferred in the sequence with an error.
- Sends a
{ reason: X }to any iterators, causingfor awaitloops to throw.
reject(reason: unknown): void
Reject the current deferred in the sequence with an error.
{ reason: X } to any iterators, causing for await loops to throw.