Methods
(static) _clientFor(options) → {Client}
Returns a custom `Client` implementation provided in options. Expects that the given options
contain an implementation which extends `Client`.
Can be used to provide mock implementations of `Client`.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions |
- Source:
Returns:
a custom `Client` implementation provided in options
- Type
- Client
(static) _ensureOptionsSufficient()
- Source:
(static) createCommanding(options) → {CommandingClient}
Returns a custom `CommandingClient` implementation provided in options. Expects that the given
options contain an implementation which extends `CommandingClient`.
Can be used to provide mock implementations of `CommandingClient`.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions |
- Source:
Returns:
a custom `CommandingClient` implementation provided in options
- Type
- CommandingClient
(static) createQuerying(options) → {QueryingClient}
Returns a custom `QueryingClient` implementation provided in options. Expects that the given
options contain an implementation which extends `QueryingClient`.
Can be used to provide mock implementations of `QueryingClient`.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions |
- Source:
Returns:
a custom `QueryingClient` implementation provided in options
- Type
- QueryingClient
(static) createSubscribing(options) → {SubscribingClient}
Returns a custom `SubscribingClient` implementation provided in options. Expects that the given
options contain an implementation which extends `SubscribingClient`.
Can be used to provide mock implementations of `SubscribingClient`.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions |
- Source:
Returns:
a custom `SubscribingClient` implementation provided in options
- Type
- SubscribingClient