These are chat archives for petabridge/akka-bootcamp
stopthe actor? Or do you want a
functionalstop. ? Because afaik there is no way to forcibly stop an actor when its in the middle of doing something. Otherwise, normal stopping features apply: http://getakka.net/docs/Working%20with%20actors#stopping-actors
functional"stop": I mean, a actor execute business logic and I want to implement correct way to stop the execution. For example, message to actor contains
CancellationTokentransfered to business logic. When a client wants to stop it can done by
CancellationToken. But a problem in immutable of message. If
CancellationTokenis part of message, client should not change state.