Skip to main content

Interface: ActivityClientOptions

client.ActivityClientOptions

Options used to configure ActivityClient

Standalone Activities are experimental. APIs may be subject to change.

Hierarchy

Properties

connection

Optional connection: 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

Optional dataConverter: DataConverter

DataConverter to use for serializing and deserializing payloads

Inherited from

AsyncCompletionClientOptions.dataConverter


identity

Optional identity: string

Identity to report to the server

Default

${process.pid}@${os.hostname()}

Inherited from

AsyncCompletionClientOptions.identity


interceptors

Optional interceptors: ActivityClientInterceptor[]


namespace

Optional namespace: string

Server namespace

Default

default

Inherited from

AsyncCompletionClientOptions.namespace