Persistate API documentation
Wait Method (syncs)
NamespacesPersistate.UtilSyncWait(IEnumerable<(Of <<'(Sync>)>>))

[This is preliminary documentation and is subject to change.]

Waits until all Syncs in a collection have been signalled.
Declaration Syntax
C#
public static void Wait(
	IEnumerable<Sync> syncs
)
Parameters
syncs (IEnumerable<(Of <(<'Sync>)>)>)
The collection of Syncs to wait on. This can be any collection which implements IEnumerable{Sync} or an array of Syncs.
Remarks
Any number of the Syncs may already have signalled. If all have already signalled, this returns immediately. If any other thread is waiting on any of the Syncs, an exception is generated.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if any of the Sync states is either waiting or complete.

Assembly: Persistate.Util (Module: Persistate.Util) Version: 0.6.1.20 (0.6.1.20)