serverStreamingRpc

fun <RequestT, ResponseT> serverStreamingRpc(    channel: Channel,     method: MethodDescriptor<RequestT, ResponseT>,     request: RequestT,     callOptions: CallOptions = CallOptions.DEFAULT,     headers: Metadata = GrpcMetadata()): Flow<ResponseT>

Returns a Flow which launches the specified server-streaming RPC and emits the responses.

Sources

Link copied to clipboard