Class: NexusClient
Experimental
Client for standalone Nexus operations. Access via Client.nexus.
Use createServiceClient to get a typed service client, or call the namespace-wide list, count, and getHandle methods directly.
See
Nexus Standalone Operations are experimental.
Extends
BaseClient
Constructors
Constructor
new NexusClient(
options?):NexusClient
Experimental
Parameters
options?
Returns
NexusClient
Overrides
BaseClient.constructor
Properties
connection
readonlyconnection:ConnectionLike
Experimental
The underlying connection or NativeConnection | native connection used by this client.
Clients are cheap to create, but connections are expensive. Where it makes sense,
a single connection may and should be reused by multiple Clients.
Inherited from
BaseClient.connection
options
readonlyoptions:LoadedNexusClientOptions
Experimental
Methods
count()
count(
query?):Promise<NexusOperationExecutionCount>
Experimental
Count standalone Nexus operations matching a visibility query.
Nexus Standalone Operations are experimental.
Parameters
query?
string
Returns
Promise<NexusOperationExecutionCount>
createServiceClient()
createServiceClient<
T>(options):NexusServiceClient<T>
Experimental
Create a typed service client for starting and executing Nexus operations on a specific endpoint + service.
Nexus Standalone Operations are experimental.