Documentation ¶
Index ¶
Constants ¶
View Source
const TypeMsg string = "msg"
Variables ¶
This section is empty.
Functions ¶
func ReadWait ¶ added in v0.11.0
func ReadWait(envelope *utils.TypedEnvelope) (flows.Wait, error)
ReadWait reads a wait from the given typed envelope
func RegisterType ¶ added in v0.11.0
RegisterType registers a new type of wait
Types ¶
type MsgWait ¶
type MsgWait struct {
// contains filtered or unexported fields
}
MsgWait is a wait which waits for an incoming message (i.e. a msg_received event)
func NewMsgWait ¶ added in v0.4.0
NewMsgWait creates a new message wait
func (*MsgWait) Timeout ¶
func (w *MsgWait) Timeout() *int
Timeout returns the timeout of this wait in seconds or nil if no timeout is set
Click to show internal directories.
Click to hide internal directories.