Created
September 5, 2017 10:12
-
-
Save Blind-Striker/bff9a13e886af164bd5c7de3e40c089e to your computer and use it in GitHub Desktop.
Example Actor Lifecycle events for Akka.Net Medium Article
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FooActor : UntypedActor | |
{ | |
protected override void OnReceive(object message) | |
{ | |
} | |
protected override void PreStart() | |
{ | |
} | |
protected override void PreRestart(Exception reason, object message) | |
{ | |
} | |
protected override void PostStop() | |
{ | |
} | |
protected override void PostRestart(Exception reason) | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment