Skip to main content
Skip to main content

AsyncIterableIterator

admin/discounts.internal.AsyncIterableIterator

Type parameters

TobjectRequired

Methods

[asyncIterator]

[asyncIterator](): AsyncIterableIterator<T>

Returns

AsyncIterableIterator<T>

AsyncIterableIteratorAsyncIterableIterator<T>Required

next

next(...args): Promise<IteratorResult<T, any>>

Parameters

args[] | [undefined]Required

Returns

Promise<IteratorResult<T, any>>

PromisePromise<IteratorResult<T, any>>Required

Inherited from

AsyncIterator.next


return

Optional return(value?): Promise<IteratorResult<T, any>>

Parameters

valueany

Returns

Promise<IteratorResult<T, any>>

PromisePromise<IteratorResult<T, any>>Required

Inherited from

AsyncIterator.return


throw

Optional throw(e?): Promise<IteratorResult<T, any>>

Parameters

eany

Returns

Promise<IteratorResult<T, any>>

PromisePromise<IteratorResult<T, any>>Required

Inherited from

AsyncIterator.throw

Was this section helpful?