1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-08-20 13:49:51 +02:00
Files
.config
.run
.workdir
Agent
Common
Controller
Docker
Utils
Phantom.Utils
Phantom.Utils.Actor
Event
Logging
Mailbox
Tasks
ActorConfiguration.cs
ActorExtensions.cs
ActorFactory.cs
ActorRef.cs
ActorSystemFactory.cs
ICanReply.cs
Phantom.Utils.Actor.csproj
Props.cs
ReceiveActor.cs
SupervisorStrategies.cs
Phantom.Utils.Events
Phantom.Utils.Logging
Phantom.Utils.Rpc
Phantom.Utils.Tests
Web
.dockerignore
.gitattributes
.gitignore
AddMigration.bat
AddMigration.sh
Directory.Build.props
Directory.Build.targets
Dockerfile
LICENSE
Packages.props
PhantomPanel.sln
README.md
global.json

11 lines
385 B
C#

using Akka.Actor;
using Akka.Util.Internal;
namespace Phantom.Utils.Actor;
public static class SupervisorStrategies {
private static DeployableDecider DefaultDecider { get; } = SupervisorStrategy.DefaultDecider.AsInstanceOf<DeployableDecider>();
public static SupervisorStrategy Resume { get; } = new OneForOneStrategy(Decider.From(Directive.Resume, DefaultDecider.Pairs));
}