Akka.Persistence.Tests.PersistentActorSpec.DeeplyNestedPersistAsyncs.ReceiveCommand C# (CSharp) Method

ReceiveCommand() protected method

protected ReceiveCommand ( object message ) : bool
message object
return bool
            protected override bool ReceiveCommand(object message)
            {
                if (message is string)
                {
                    var s = (string) message;
                    _probe.Tell(s);
                    PersistAsync(s + "-1", WeMustGoDeeper);
                    return true;
                }
                return false;
            }
        }
PersistentActorSpec.DeeplyNestedPersistAsyncs