Function: getAsyncIteratorWithCancel()
getAsyncIteratorWithCancel<
T,TReturn>(asyncIterator,onCancel):AsyncIterator<T>
Defined in: packages/utils/src/withCancel.ts:16
Type Parameters
T
T
TReturn
TReturn = any
Parameters
asyncIterator
AsyncIterator<T>
onCancel
(value?) => void | Promise<void>
Returns
AsyncIterator<T>