SyncServiceSynchronizeT(FuncTaskT, ActionException) Method

If at all possible, don't use this. Make your functions async. Please.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static T Synchronize<T>(
	Func<Task<T>> func,
	Action<Exception> onError = null
)

Parameters

func  FuncTaskT
 
onError  ActionException  (Optional)
 

Type Parameters

T

Return Value

T

See Also