Properties
Extra
@grpc/grpc-js channel options merged onto (and able to override)
the SDK defaults — including the built-in keepalive settings — for both
the unary and streaming channels. Tune keepalive here, e.g.
{ "grpc.keepalive_time_ms": 15000 }, without waiting for an SDK release.Called once for every server heartbeat frame on any
subscribeEvents /
watch stream. The server emits heartbeats on a fixed cadence even when
idle, so this is a liveness signal: drive a stall watchdog from it to
detect a half-open connection and re-establish the stream. Without it,
heartbeat frames are silently dropped.Type:
RetryOptionsRetries retryable unary RPC failures; streaming RPCs are never retried automatically.