| EchoActorProps Method |
Returns a
Props(TestKitBase, Boolean) object that can be used to create an
EchoActor.
The
EchoActor echoes whatever is sent to it, to the
TestKit's
TestActor.
By default it also echoes back to the sender, unless the sender is the
TestActor
(in this case the
TestActor will only receive one message) or unless
echoBackToSenderAsWell has been set to
false.
Namespace:
Akka.TestKit.TestActors
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Props Props(
TestKitBase testkit,
bool echoBackToSenderAsWell = true
)
static member Props :
testkit : TestKitBase *
?echoBackToSenderAsWell : bool
(* Defaults:
let _echoBackToSenderAsWell = defaultArg echoBackToSenderAsWell true
*)
-> Props
Parameters
- testkit
- Type: Akka.TestKitTestKitBase
TBD - echoBackToSenderAsWell (Optional)
- Type: SystemBoolean
TBD
Return Value
Type:
PropsTBD
See Also