Click or drag to resize
Akka.NETStrategyAllForOne Method (FSharpFuncException, Directive, FSharpOptionInt32, FSharpOptionTimeSpan)
Returns a supervisor strategy appliable to each supervised actor when any of them had faulted during execution.

Namespace:  Akka.FSharp
Assembly:  Akka.FSharp (in Akka.FSharp.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static SupervisorStrategy AllForOne(
	FSharpFunc<Exception, Directive> decider,
	FSharpOption<int> retries,
	FSharpOption<TimeSpan> timeout
)

Parameters

decider
Type: Microsoft.FSharp.CoreFSharpFuncException, Directive
Used to determine a actor behavior response depending on exception occurred.
retries
Type: Microsoft.FSharp.CoreFSharpOptionInt32
Defines a number of times, an actor could be restarted. If it's a negative value, there is not limit.
timeout
Type: Microsoft.FSharp.CoreFSharpOptionTimeSpan
Defines time window for number of retries to occur.

Return Value

Type: SupervisorStrategy

[Missing <returns> documentation for "M:Akka.FSharp.Strategy.AllForOne(Microsoft.FSharp.Core.FSharpFunc{System.Exception,Akka.Actor.Directive},Microsoft.FSharp.Core.FSharpOption{System.Int32},Microsoft.FSharp.Core.FSharpOption{System.TimeSpan})"]

See Also