Class TaskExtensions
Inheritance
System.Object
TaskExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AltV.Net.Client.Async
Assembly: AltV.Net.Client.Async.dll
Syntax
public static class TaskExtensions
Methods
| Improve this Doc View SourceToMain(Task)
Declaration
public static async Task ToMain(this Task task)
Parameters
| Type | Name | Description |
|---|---|---|
| Task | task |
Returns
| Type | Description |
|---|---|
| Task |
ToMain<T>(Task<T>)
Declaration
public static async Task<T> ToMain<T>(this Task<T> task)
Parameters
| Type | Name | Description |
|---|---|---|
| Task<T> | task |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |