Skip to main content

Interface: TimeSkippingWorkflowClientOptions

testing.TimeSkippingWorkflowClientOptions

Hierarchy

Properties

connection

connection: Connection

Connection to use to communicate with the server.

By default WorkflowClient connects to localhost.

Connections are expensive to construct and should be reused.

Overrides

WorkflowClientOptions.connection


dataConverter

Optional dataConverter: DataConverter | LoadedDataConverter

DataConverter or LoadedDataConverter to use for serializing and deserializing payloads

Inherited from

WorkflowClientOptions.dataConverter


enableTimeSkipping

enableTimeSkipping: boolean


identity

Optional identity: string

Identity to report to the server

Default

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

Inherited from

WorkflowClientOptions.identity


interceptors

Optional interceptors: WorkflowClientInterceptors

Used to override and extend default Connection functionality

Useful for injecting auth headers and tracing Workflow executions

Inherited from

WorkflowClientOptions.interceptors


namespace

Optional namespace: string

Server namespace

Default

default

Inherited from

WorkflowClientOptions.namespace


queryRejectCondition

Optional queryRejectCondition: QueryRejectCondition

Should a query be rejected by closed and failed workflows

Default

QUERY_REJECT_CONDITION_UNSPECIFIED which means that closed and failed workflows are still queryable

Inherited from

WorkflowClientOptions.queryRejectCondition