Click or drag to resize
Akka.NETTestKitBaseWithin Method (TimeSpan, TimeSpan, Action, String, NullableTimeSpan)
Execute code block while bounding its execution time between min and max.

`within` blocks may be nested. All methods in this class which take maximum wait times are available in a version which implicitly uses the remaining time governed by the innermost enclosing `within` block.

Remarks
Note that the max duration is scaled using Dilated(TimeSpan) which uses the config value "akka.test.timefactor"

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public void Within(
	TimeSpan min,
	TimeSpan max,
	Action action,
	string hint = null,
	Nullable<TimeSpan> epsilonValue = null
)

Parameters

min
Type: SystemTimeSpan
TBD
max
Type: SystemTimeSpan
TBD
action
Type: SystemAction
TBD
hint (Optional)
Type: SystemString
TBD
epsilonValue (Optional)
Type: SystemNullableTimeSpan
TBD
See Also