Documentation
¶
Overview ¶
Package temporal initializes a Temporal worker.
Index ¶
Constants ¶
View Source
const ( // SearchAttribute is a Temporal search attribute key used // by Timpani and the RevChat event dispatcher workflow. SearchAttribute = "WaitingForSignals" // EventDispatcher is the name and ID of the RevChat event dispatcher workflow. EventDispatcher = "event.dispatcher" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.3.0
type Config struct {
// contains filtered or unexported fields
}
func (*Config) EventDispatcherWorkflow ¶ added in v0.3.0
EventDispatcherWorkflow is an always-running singleton workflow that receives Temporal signals from Timpani and spawns event-specific child workflows to handle them. Most of these child workflows run asynchronously, with the exception of PR creation events.
This workflow enters a brief "lame duck" mode before adhering to the Temporal server's continue-as-new suggestions, or OS signals to stop the worker process, in order to ensure that no events are lost during history resets.
Click to show internal directories.
Click to hide internal directories.