qmuntal / stateless

Go library for creating finite state machines
BSD 2-Clause "Simplified" License
942 stars 49 forks source link

Remove stateMutex for external storage #4

Closed qmuntal closed 4 years ago

qmuntal commented 4 years ago

Fixes #3

The stateMutex has been removed from StateMachine.State and StateMachine.setState. A stateMutex has been added to the built-in state repository instead.