Name | Description |
---|---|
Coroutine | This class implements cooperative coroutines using Generators. Coroutines should yield promises to pause execution of the coroutine until the promise has resolved. If the promise is fulfilled, the fulfillment value is sent to the generator. If the promise is rejected, the rejection exception is thrown into the generator. |