 | TestKitBaseRemainingOrDilated 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.
RemarksThe returned value is always finite.
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic TimeSpan RemainingOrDilated(
Nullable<TimeSpan> duration
)
member RemainingOrDilated :
duration : Nullable<TimeSpan> -> TimeSpan
Parameters
- duration
- Type: SystemNullableTimeSpan
The maximum.
Return Value
Type:
TimeSpanA finite
TimeSpan properly dilated
Exceptions
See Also