Click or drag to resize

SingleOccurrenceActionExecuteAndWait Method

Signals this class and waits for all blockers to exit before calling the .. If called concurrently, the calling thread blocks until the completes. If called from within the , the function returns immediately. The same thread calling this method will always call the . Only one callback will be executed by this class and it will be the first one to call either ExecuteWithoutWait(Action) or ExecuteAndWait(Action).

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
Syntax
public void ExecuteAndWait(
	Action callback = null
)
View Source

Parameters

callback  Action  (Optional)
the callback to execute

Return Value

See Also