DeferredSequence.done()method
done(value?: R | undefined): void
Signal that the sequence is done, causing any active for await loops to exit cleanly.
- Sends a
{ done: true, value: R }to any iterators.
done(value?: R | undefined): void
Signal that the sequence is done, causing any active for await loops to exit cleanly.
{ done: true, value: R } to any iterators.