TaskSingletonExecute Method (FuncTask) |
Namespace: Lawo.Threading.Tasks
public Task Execute( Func<Task> function )
Exception | Condition |
---|---|
ArgumentNullException | function equals null. |
InvalidOperationException | The IsCompleted property is false for the Task object returned by a previously called async method. |