watch method

ResponseStream<WatchResponse> watch(
  1. WatchRequest request, {
  2. CallOptions? options,
})

Watches a query for real-time updates. This is a server-streaming RPC where the server will push new results.

Implementation

$grpc.ResponseStream<$0.WatchResponse> watch(
  $0.WatchRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createStreamingCall(_$watch, $async.Stream.fromIterable([request]),
      options: options);
}