Akka.Routing.ScatterGatherFirstCompletedGroup.ToSurrogate C# (CSharp) Method

ToSurrogate() public method

Creates a surrogate representation of the current ScatterGatherFirstCompletedGroup.
public ToSurrogate ( ActorSystem system ) : ISurrogate
system ActorSystem The actor system that owns this router.
return ISurrogate
        public override ISurrogate ToSurrogate(ActorSystem system)
        {
            return new ScatterGatherFirstCompletedGroupSurrogate
            {
                Paths = Paths,
                Within = Within,
            };
        }