Click or drag to resize
Akka.NETTestKitBaseFishForMessage Method (PredicateObject, NullableTimeSpan, String)
Receives messages until isMessage returns true. Use it to ignore certain messages while waiting for a specific message.

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public Object FishForMessage(
	Predicate<Object> isMessage,
	Nullable<TimeSpan> max = null,
	string hint = ""
)

Parameters

isMessage
Type: SystemPredicateObject
The is message.
max (Optional)
Type: SystemNullableTimeSpan
The maximum.
hint (Optional)
Type: SystemString
The hint.

Return Value

Type: Object
Returns the message that isMessage matched
See Also