Click or drag to resize
Akka.NETTestKitBaseRemainingOrDilated Method
If duration is finite it is returned after it has been scaled using Dilated(TimeSpan). If duration is undefined, it returns the remaining time (if within a `within` block) or the properly dilated default from settings (key "akka.test.single-expect-default"). If duration is infinite, an ArgumentException is thrown.
Remarks
The returned value is always finite.

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public TimeSpan RemainingOrDilated(
	Nullable<TimeSpan> duration
)

Parameters

duration
Type: SystemNullableTimeSpan
The maximum.

Return Value

Type: TimeSpan
A finite TimeSpan properly dilated
Exceptions
ExceptionCondition
ArgumentExceptionThrown if duration is infinite
See Also