FlowStreamResponse<O, S> typedef

FlowStreamResponse<O, S> = ({Future<O> response, Stream<S> stream})

Record type returned by GenkitClient.streamFlow, containing the stream of chunks and a future for the final response.

Implementation

typedef FlowStreamResponse<O, S> = ({Future<O> response, Stream<S> stream});