Core
Client
Client value that operations accept.
@defjs/core · Type
Signature
interface Client { readonly [CLIENT]: ClientState; }
A client value carries the base configuration and one call's request options. Operations accept it. It is not callable; create one by calling the factory returned by createClient. Calling a client value throws a TypeError at runtime and fails to compile.
Create a client value per call. Reusing a value that carries signal shares that signal between calls.
Members
Prop
Type
[CLIENT] ClientStateInternal state. Not part of the call surface.