| TestActorRefBaseTActorReceive Method |
Directly inject messages into actor receive behavior. Any exceptions
thrown will be available to you, while still being able to use
become/unbecome.
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public void Receive(
Object message,
IActorRef sender = null
)
member Receive :
message : Object *
?sender : IActorRef
(* Defaults:
let _sender = defaultArg sender null
*)
-> unit
Parameters
- message
- Type: SystemObject
The message. - sender (Optional)
- Type: Akka.ActorIActorRef
The sender.
See Also