Did you know?
If you want to return a stream that depends on some asynchronous code, you can use async*
and yield*
.
This can be handy when you have an object that needs to be initialized asynchronously before it can start emitting events.
Previous | Next |
---|---|
Timing the In-App Review Prompt | Control the Code Generation Order |