Package dev.restate.sdk.annotation
Annotation Interface Shared
Defines a method as a Shared handler. It can be used only on methods of either
VirtualObject
or Workflow
.
Shared handlers can execute concurrently with the other handlers of Virtual Objects or Workflows. They can therefore not set or clear state.
This implies the annotation Handler
.