AsyncIterator
admin/discounts.internal.AsyncIterator
Type parameters
T
objectRequiredTReturn
objectRequiredTNext
objectRequiredMethods
next
next(...args
): Promise
<IteratorResult
<T
, TReturn
>>
Parameters
args
[] | [TNext]RequiredReturns
Promise
<IteratorResult
<T
, TReturn
>>
return
Optional
return(value?
): Promise
<IteratorResult
<T
, TReturn
>>
Parameters
value
TReturn | PromiseLike<TReturn>Returns
Promise
<IteratorResult
<T
, TReturn
>>
throw
Optional
throw(e?
): Promise
<IteratorResult
<T
, TReturn
>>
Parameters
e
anyReturns
Promise
<IteratorResult
<T
, TReturn
>>
Was this section helpful?