Click or drag to resize
Akka.NETTestKitBaseReceiveN Method (Int32, TimeSpan)
Receive the specified number of messages in a row before the given deadline. The deadline is scaled by "akka.test.timefactor" using Dilated(TimeSpan).

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public IReadOnlyCollection<Object> ReceiveN(
	int numberOfMessages,
	TimeSpan max
)

Parameters

numberOfMessages
Type: SystemInt32
The number of messages.
max
Type: SystemTimeSpan
The timeout scaled by "akka.test.timefactor" using Dilated(TimeSpan).

Return Value

Type: IReadOnlyCollectionObject
The received messages
See Also