Click or drag to resize

ExecutionHelperWaitToComplete Method

Try to execute action till success or timeout

Namespace: Sportradar.OddsFeed.SDK.Common
Assembly: Sportradar.OddsFeed.SDK.Common (in Sportradar.OddsFeed.SDK.Common.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax
C#
public static bool WaitToComplete(
	Action action,
	int timeoutMs = 10000
)

Parameters

action  Action
Action to be invoked
timeoutMs  Int32  (Optional)
Maximum execution time

Return Value

Boolean
Indication if the action completed successfully
See Also