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