Skip to main content

Interface: ScheduleClientOptions

Extends​

  • BaseClientOptions

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​

BaseClientOptions.connection


dataConverter?​

optional dataConverter?: DataConverter

DataConverter to use for serializing and deserializing payloads

Inherited from​

BaseClientOptions.dataConverter


identity?​

optional identity?: string

Identity to report to the server

Default​

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

Inherited from​

BaseClientOptions.identity


interceptors?​

optional interceptors?: ScheduleClientInterceptor[]

Used to override and extend default Connection functionality

Useful for injecting auth headers and tracing Workflow executions


namespace?​

optional namespace?: string

Server namespace

Default​

default

Inherited from​

BaseClientOptions.namespace


payloadCache?​

optional payloadCache?: false | PayloadCache

Experimental

Payload cache shared by this client, or false to disable payload caching.

Default​

false

Inherited from​

BaseClientOptions.payloadCache