Skip to main content

Interface: WorkflowClientOptions

testing.WorkflowClientOptions

Hierarchy

  • WorkflowClientOptions

    WorkflowClientOptions

Properties

connection

connection: Connection

Overrides

BaseWorkflowClientOptions.connection


dataConverter

Optional dataConverter: DataConverter

{@link DataConverter} to use for serializing and deserializing payloads

Inherited from

BaseWorkflowClientOptions.dataConverter


identity

Optional identity: string

Identity to report to the server

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

Inherited from

BaseWorkflowClientOptions.identity


interceptors

Optional interceptors: WorkflowClientInterceptors

Used to override and extend default Connection functionality

Useful for injecting auth headers and tracing Workflow executions

Inherited from

BaseWorkflowClientOptions.interceptors


namespace

Optional namespace: string

Server namespace

default default

Inherited from

BaseWorkflowClientOptions.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

BaseWorkflowClientOptions.queryRejectCondition