stream<I extends Object, O extends Object> abstract method

Future<StreamResponse<I, O>> stream<I extends Object, O extends Object>(
  1. Spec<I, O> spec,
  2. Stream<I> input, [
  3. CallOptions? options
])

Call a streaming RPC - a method that takes zero or more input messages, and responds with zero or more output messages.

Implementation

Future<StreamResponse<I, O>> stream<I extends Object, O extends Object>(
  Spec<I, O> spec,
  Stream<I> input, [
  CallOptions? options,
]);