Send a value to the async generator and resumes execution of the generator
public function send( ?Ts $v, ): 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.
?Ts $v- The value to send to the async generator.