Interface: ActivityClientOptions
Options used to configure ActivityClient
Extends
Properties
connection?
optionalconnection?:ConnectionLike
Connection to use to communicate with the server.
By default, connects to localhost.
Connections are expensive to construct and should be reused.
Inherited from
AsyncCompletionClientOptions.connection
dataConverter?
optionaldataConverter?:DataConverter
DataConverter to use for serializing and deserializing payloads
Inherited from
AsyncCompletionClientOptions.dataConverter
identity?
optionalidentity?:string
Identity to report to the server
Default
${process.pid}@${os.hostname()}
Inherited from
AsyncCompletionClientOptions.identity
interceptors?
optionalinterceptors?:ActivityClientInterceptor[]
namespace?
optionalnamespace?:string
Server namespace
Default
default
Inherited from
AsyncCompletionClientOptions.namespace
payloadCache?
optionalpayloadCache?:false|PayloadCache
Experimental
Payload cache shared by this client, or false to disable payload caching.
Default
false
Inherited from
AsyncCompletionClientOptions.payloadCache