ClientPluginInterface
extends
PluginInterface
in
Plugin interface for configuring Temporal Clients.
Plugins that implement either ScheduleClientPluginInterface and ClientPluginInterface are automatically propagated from the service stubs to the schedule client.
Configuration methods are called in registration order (first registered = first called).
Table of Contents
Methods
- configureClient() : void
- Modify client configuration before the client is created.
- getName() : string
- Unique name identifying this plugin (e.g., "my-org.tracing").
Methods
configureClient()
Modify client configuration before the client is created.
public
configureClient(ClientPluginContext $context, callable(ClientPluginContext): void $next) : void
Called in registration order (first plugin registered = first called).
Parameters
- $context : ClientPluginContext
- $next : callable(ClientPluginContext): void
-
Calls the next plugin or the final hook.
getName()
Unique name identifying this plugin (e.g., "my-org.tracing").
public
getName() : string
Used for deduplication and diagnostics.