Starts the Action as async Task on the given TaskDistributor.
Namespace: UnityThreadingAssembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static Task RunAsync( this Action that, TaskDistributor target ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function RunAsync ( _ that As Action, _ target As TaskDistributor _ ) As Task |
Visual C++ |
---|
[ExtensionAttribute] public: static Task^ RunAsync( Action^ that, TaskDistributor^ target ) |
Parameters
- that
- Type: System..::..Action
- target
- Type: UnityThreading..::..TaskDistributor
The TaskDistributor instance on which the operation should perform.