TClientBufferedStream::gen

public function gen<TStreamResponse>(
  (function(?string, ?Exception): TStreamResponse) $streamDecode,
): HH\AsyncGenerator<null, TStreamResponse, void>;

Parameters

  • (function(?string, ?Exception): TStreamResponse) $streamDecode

Returns