Skip to content

Instantly share code, notes, and snippets.

@optician
Created February 1, 2015 17:49
Show Gist options
  • Save optician/71248e4b8c287a345b2f to your computer and use it in GitHub Desktop.
Save optician/71248e4b8c287a345b2f to your computer and use it in GitHub Desktop.
case Event(newConnection: ActorRef, FSMData.Datum(challengeRef, channels, state)) =>
context.watch(newConnection)
newConnection ! CurrentState(stateName).json
stay() using FSMData.Datum(challengeRef, channels + newConnection, state)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment