Skip to main content
Skip to main content

AsyncIterator

admin/discounts.internal.AsyncIterator

Type parameters

TobjectRequired
TReturnobjectRequired
TNextobjectRequired

Methods

next

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

Parameters

args[] | [TNext]Required

Returns

Promise<IteratorResult<T, TReturn>>

PromisePromise<IteratorResult<T, TReturn>>Required

return

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

Parameters

valueTReturn | PromiseLike<TReturn>

Returns

Promise<IteratorResult<T, TReturn>>

PromisePromise<IteratorResult<T, TReturn>>Required

throw

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

Parameters

eany

Returns

Promise<IteratorResult<T, TReturn>>

PromisePromise<IteratorResult<T, TReturn>>Required
Was this section helpful?