MCPcopy
hub / github.com/looplab/fsm / Async

Method Async

event.go:64–66  ·  view source on GitHub ↗

Async can be called in leave_ to do an asynchronous state transition. The current state transition will be on hold in the old state until a final call to Transition is made. This will complete the transition and possibly call the other callbacks.

()

Source from the content-addressed store, hash-verified

62// call to Transition is made. This will complete the transition and possibly
63// call the other callbacks.
64func (e *Event) Async() {
65 e.async = true
66}

Callers 6

ExampleFSM_TransitionFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls