Namespace: Health
Type Aliases
CheckCallback
Ƭ CheckCallback: (error
: Error
| null
, response?
: HealthCheckResponse
) => void
Callback as used by grpc.health.v1.Health#check.
Type declaration
▸ (error
, response?
): void
Parameters
Name | Type | Description |
---|---|---|
error | Error | null | Error, if any |
response? | HealthCheckResponse | HealthCheckResponse |
Returns
void
WatchCallback
Ƭ WatchCallback: (error
: Error
| null
, response?
: HealthCheckResponse
) => void
Callback as used by grpc.health.v1.Health#watch.
Type declaration
▸ (error
, response?
): void
Parameters
Name | Type | Description |
---|---|---|
error | Error | null | Error, if any |
response? | HealthCheckResponse | HealthCheckResponse |
Returns
void