Raise an exception to the async generator
public function raise( Exception $e, ): Awaitable<?(Tk,Tv)>;
You should always
await the returned
Awaitable to get the actual
null is returned, that means you have reached the end of iteration.
Exception $e- The exception to raise on the async generator.