 | TestKitBaseIgnoreMessages Method |
Ignore all messages in the test actor for which the given function
returns true.
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic void IgnoreMessages(
Func<Object, bool> shouldIgnoreMessage
)
member IgnoreMessages :
shouldIgnoreMessage : Func<Object, bool> -> unit
Parameters
- shouldIgnoreMessage
- Type: SystemFuncObject, Boolean
Given a message, if the function returns
true the message will be ignored by TestActor.
See Also