Props Class

Props is a configuration object using in creating an [[Actor]]; it is immutable, so it is thread-safe and fully shareable. Examples on C# API:
C#
private Props props = Props.Empty();
private Props props = Props.Create(() => new MyActor(arg1, arg2));

private Props otherProps = props.WithDispatcher("dispatcher-id");
private Props otherProps = props.WithDeploy(deployment info);

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll)

Syntax


public class Props
Public Class Props
public ref class Props

Inheritance Hierarchy


Object
  Akka.Actor..::..Props