| TestKitBaseWithin Method (TimeSpan, Action, NullableTimeSpan) |
Execute code block while bounding its execution time between 0 seconds 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 max,
Action action,
Nullable<TimeSpan> epsilonValue = null
)
member Within :
max : TimeSpan *
action : Action *
?epsilonValue : Nullable<TimeSpan>
(* Defaults:
let _epsilonValue = defaultArg epsilonValue null
*)
-> unit
Parameters
- max
- Type: SystemTimeSpan
TBD - action
- Type: SystemAction
TBD - epsilonValue (Optional)
- Type: SystemNullableTimeSpan
TBD
See Also