Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CodecRegistry.type
Members list
Value members
Concrete methods
Auto-registration entry point for an activity ''implementation class''. The type parameter A is the concrete impl type (e.g. MyActivityImpl); the macro walks A's base classes, finds every @activityInterface-annotated ancestor, and registers each interface's codecs into the registry.
Auto-registration entry point for an activity ''implementation class''. The type parameter A is the concrete impl type (e.g. MyActivityImpl); the macro walks A's base classes, finds every @activityInterface-annotated ancestor, and registers each interface's codecs into the registry.
This is the path taken by ZWorker.addActivityImplementation(activity) / friends, where the user passes an implementation whose declared type doesn't identify the activity interface directly.
Attributes
Auto-registration entry point for an interface. Walks I's @workflowMethod / @signalMethod / @queryMethod / @activityMethod methods and, if registryOpt is Some(r), registers every parameter and return type's codec into r. When registryOpt is None this is a silent no-op — that's how the opt-out path for withDataConverter(raw) works.
Auto-registration entry point for an interface. Walks I's @workflowMethod / @signalMethod / @queryMethod / @activityMethod methods and, if registryOpt is Some(r), registers every parameter and return type's codec into r. When registryOpt is None this is a silent no-op — that's how the opt-out path for withDataConverter(raw) works.
Used by ZWorker.addWorkflow[I], ZWorkflowClient.newWorkflowStub[I], and friends to eliminate the manual .addInterface[...] boilerplate. Users who want explicit control still have CodecRegistry#addInterface.
Attributes
Build a registry pre-populated with the given codecs. The typical usage from a client or worker setup:
Build a registry pre-populated with the given codecs. The typical usage from a client or worker setup:
val registry = CodecRegistry.of(
ZTemporalCodec[MyInput],
ZTemporalCodec[MyResult],
ZTemporalCodec[List[MyInput]]
)
ZWorkflowClientOptions.make @@ ZWorkflowClientOptions.withCodecRegistry(registry)