KangarooMonitorWaitAny Method (KangarooMonitor, KangarooTimeout)Kangaroo Library for .NET
Waits until at least one of the monitors is done or the timeout expires.

Namespace: DimensionEngineering.Kangaroo
Assembly: DimensionEngineering.Kangaroo (in DimensionEngineering.Kangaroo.dll) Version: 1.0.5.0 (1.0.5.0)
Syntax

public static int WaitAny(
	KangarooMonitor[] monitors,
	KangarooTimeout timeout
)

Parameters

monitors
Type: DimensionEngineering.KangarooKangarooMonitor
The monitors to wait for.
timeout
Type: DimensionEngineering.KangarooKangarooTimeout
The timeout object to use.

Return Value

Type: Int32
The array index of the monitor that is done, or -1 if the timeout expired.
Remarks

If a monitor is null, it is ignored.
See Also

Reference