Documentation
¶
Index ¶
- type Options
- type State
- func (s *State) AddToInbox(e *backend.HistoryEvent)
- func (s *State) ApplyRuntimeStateChanges(rs *backend.OrchestrationRuntimeState)
- func (s *State) ClearInbox()
- func (s *State) GetPurgeRequest(actorID string) (*api.TransactionalRequest, error)
- func (s *State) GetSaveRequest(actorID string) (*api.TransactionalRequest, error)
- func (s *State) Reset()
- func (s *State) ResetChangeTracking()
- func (s *State) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct { Inbox []*backend.HistoryEvent History []*backend.HistoryEvent CustomStatus *wrapperspb.StringValue Generation uint64 // contains filtered or unexported fields }
func LoadWorkflowState ¶
func (*State) AddToInbox ¶
func (s *State) AddToInbox(e *backend.HistoryEvent)
func (*State) ApplyRuntimeStateChanges ¶
func (s *State) ApplyRuntimeStateChanges(rs *backend.OrchestrationRuntimeState)
func (*State) ClearInbox ¶
func (s *State) ClearInbox()
func (*State) GetPurgeRequest ¶
func (s *State) GetPurgeRequest(actorID string) (*api.TransactionalRequest, error)
func (*State) GetSaveRequest ¶
func (s *State) GetSaveRequest(actorID string) (*api.TransactionalRequest, error)
func (*State) ResetChangeTracking ¶
func (s *State) ResetChangeTracking()
ResetChangeTracking resets the change tracking counters. This should be called after a save request.
Click to show internal directories.
Click to hide internal directories.