The connection to the services provider was terminated. This should fire if the services disconnect unexpectedly or during a client reset.
OptionalhostStatus the services' host reports as it starts, before open resolves (e.g. a worker's ECHO index migrations); host-defined, so a consumer decodes what it understands. Absent for a provider whose host reports none.
OptionalonRegister a callback to be invoked when services reconnect.
The callback should re-establish any RPC streams.
Reconnection waits for all callbacks to complete before emitting reconnected.
OptionalreconnectedThe underlying service connection was re-established.
Fires after all reconnection callbacks have completed. isOwner is true when this client hosts
the services it reconnected to, so unloading it would also tear those services down again.
Effect-native client for all client services, inferred from the effect-rpc definitions.
Preferred surface for new consumers; must be re-read after reconnect rather than cached.
Effects it produces require only the default runtime and can be run with any Runtime<never>.
Provide access to client services definitions and service handler.