This generator factory will be used by the CancelableAsyncFlow to generate AsyncGenerators.
Rest
...args: ARGSThis function constructs an AsyncGenerator using the generatorFactory from the constructor.
A promise that completes once the generator has finished its execution. It will contain the last return value of the generator function.
This abort signal can be used to interrupt the generator between two stages.
The progress observer is passed to the generator as its first argument.
Rest
...args: ARGSCustom arguments to pass to the generator function.
Generated using TypeDoc
The CancelableAsyncFlow wraps a generator function and allows progress through the generator to be observed. Furthermore, it provides cancellation facilities to abort the generator execution early. ProgressObserver