*/ public function send($value): Promise; /** * Throws an exception into the async generator. * * @param \Throwable $exception * * @return Promise */ public function throw(\Throwable $exception): Promise; }