|
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.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax public void ExecuteAndWait(
Action callback = null
)
Public Sub ExecuteAndWait (
Optional callback As Action = Nothing
)
public:
void ExecuteAndWait(
Action^ callback = nullptr
)
member ExecuteAndWait :
?callback : Action
(* Defaults:
let _callback = defaultArg callback null
*)
-> unit
function ExecuteAndWait(callback);
View SourceParameters
- callback Action (Optional)
- the callback to execute
Return Value
See Also