Click or drag to resize
Akka.NETTestKitBase.SetAutoPilot Method

Install an AutoPilot to drive the TestActor. The AutoPilot will be run for each received message and can be used to send or forward messages, etc.

Each invocation must return the AutoPilot for the next round. To reuse the same AutoPilot return KeepRunning.

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public void SetAutoPilot(
	AutoPilot pilot
)

Parameters

pilot
Type: Akka.TestKit.AutoPilot
The pilot to install.
See Also