Interface AsyncGenerator<VALUE,UNUSED_RETURN_T,UNUSED_NEXT_T>
- All Superinterfaces:
AsyncIterable<VALUE>
,AsyncIterator<VALUE,
,Object, Object> AsyncIteratorIterable<VALUE>
@JsType(isNative=true,
namespace="<global>")
public interface AsyncGenerator<VALUE,UNUSED_RETURN_T,UNUSED_NEXT_T>
extends AsyncIteratorIterable<VALUE>
-
Method Summary
Modifier and TypeMethodDescriptionelemental2.promise.Promise
<JsIIterableResult<VALUE>> next()
elemental2.promise.Promise
<JsIIterableResult<VALUE>> elemental2.promise.Promise
<JsIIterableResult<VALUE>> elemental2.promise.Promise
<JsIIterableResult<VALUE>>
-
Method Details
-
next
elemental2.promise.Promise<JsIIterableResult<VALUE>> next()- Specified by:
next
in interfaceAsyncIterator<VALUE,
UNUSED_RETURN_T, UNUSED_NEXT_T>
-
next
- Specified by:
next
in interfaceAsyncIterator<VALUE,
UNUSED_RETURN_T, UNUSED_NEXT_T>
-
return_
-
throw_
@JsMethod(name="throw") elemental2.promise.Promise<JsIIterableResult<VALUE>> throw_(Object exception)
-