Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { HandleDecisionTaskScheduled(context.Context, *types.ScheduleDecisionTaskRequest) error HandleDecisionTaskStarted(context.Context, *types.RecordDecisionTaskStartedRequest) (*types.RecordDecisionTaskStartedResponse, error) HandleDecisionTaskFailed(context.Context, *types.HistoryRespondDecisionTaskFailedRequest) error HandleDecisionTaskCompleted(context.Context, *types.HistoryRespondDecisionTaskCompletedRequest) (*types.HistoryRespondDecisionTaskCompletedResponse, error) }
Handler contains decision business logic
func NewHandler ¶
func NewHandler( shard shard.Context, executionCache execution.Cache, tokenSerializer common.TaskTokenSerializer, ) Handler
NewHandler creates a new Handler for handling decision business logic
Click to show internal directories.
Click to hide internal directories.