| TestKitBaseWithin 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.129 (1.2.3.129)
Syntax public void Within(
TimeSpan min,
TimeSpan max,
Action action,
string hint = null,
Nullable<TimeSpan> epsilonValue = null
)
member Within :
min : TimeSpan *
max : TimeSpan *
action : Action *
?hint : string *
?epsilonValue : Nullable<TimeSpan>
(* Defaults:
let _hint = defaultArg hint null
let _epsilonValue = defaultArg epsilonValue null
*)
-> unit
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