OptionalapiOptionalgrpcgRPC compression for the worker connection (NativeConnection). Temporal SDK
1.19 enables gzip compression by default; set { codec: 'none' } to opt out if
your server can't decompress it. Has no effect on the plain gRPC client connection,
which does not compress by default.
OptionalinterceptorsClient-level interceptors (workflow, activity, schedule, nexus). Threaded into
new Client({ interceptors }). Useful for OTel tracing/metadata propagation.
OptionalmetadataOptionalnamespaceOptionaltls
Configuration options for Temporal client connection. Used for establishing connection to Temporal server.
Example