Table of Contents

Class TestActor.Spawn

Namespace
Akka.TestKit
Assembly
Akka.TestKit.dll

Message which is intended to allow TestKit to spawn a child actor

public class TestActor.Spawn : INoSerializationVerificationNeeded
Inheritance
TestActor.Spawn
Implements
INoSerializationVerificationNeeded
Inherited Members

Constructors

Spawn(Props, Option<string>, Option<SupervisorStrategy>)

public Spawn(Props props, Option<string> name, Option<SupervisorStrategy> supervisorStrategy)

Parameters

props Props
name Option<string>
supervisorStrategy Option<SupervisorStrategy>

Fields

_name

public readonly Option<string> _name

Field Value

Option<string>

_props

public readonly Props _props

Field Value

Props

_supervisorStrategy

public readonly Option<SupervisorStrategy> _supervisorStrategy

Field Value

Option<SupervisorStrategy>

Methods

Apply(IActorRefFactory)

Using the given context, create an actor of the given _props, and optionally naming it with _name

public IActorRef Apply(IActorRefFactory context)

Parameters

context IActorRefFactory

Returns

IActorRef