ScheduleClientPluginInterface
extends
PluginInterface
in
Plugin interface for configuring Temporal schedule 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
- configureScheduleClient() : void
- Modify schedule client configuration before the client is created.
- getName() : string
- Unique name identifying this plugin (e.g., "my-org.tracing").
Methods
configureScheduleClient()
Modify schedule client configuration before the client is created.
public
configureScheduleClient(ScheduleClientPluginContext $context, callable(ScheduleClientPluginContext): void $next) : void
Called in registration order (first plugin registered = first called).
Parameters
- $context : ScheduleClientPluginContext
- $next : callable(ScheduleClientPluginContext): 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.