| ExecutionHelperWaitToComplete Method |
Try to execute action till success or timeout
Namespace: Sportradar.OddsFeed.SDK.CommonAssembly: Sportradar.OddsFeed.SDK.Common (in Sportradar.OddsFeed.SDK.Common.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax public static bool WaitToComplete(
Action action,
int timeoutMs = 10000
)
Parameters
- action Action
- Action to be invoked
- timeoutMs Int32 (Optional)
- Maximum execution time
Return Value
BooleanIndication if the action completed successfully
See Also