diff --git a/api/Cysharp.Threading.Tasks.UniTask.html b/api/Cysharp.Threading.Tasks.UniTask.html index fabc5f2..9a4d736 100644 --- a/api/Cysharp.Threading.Tasks.UniTask.html +++ b/api/Cysharp.Threading.Tasks.UniTask.html @@ -377,6 +377,62 @@ For example: FooAction = UniTask.Action(async () => { /* */ })

Run<T>(Func<Object, UniTask<T>>, Object, Boolean, CancellationToken)

Run action on the threadPool and return to main thread if configureAwait = true.

+ + + + + RunOnThreadPool(Action, Boolean, CancellationToken) + +

Run action on the threadPool and return to main thread if configureAwait = true.

+ + + + + RunOnThreadPool(Action<Object>, Object, Boolean, CancellationToken) + +

Run action on the threadPool and return to main thread if configureAwait = true.

+ + + + + RunOnThreadPool(Func<UniTask>, Boolean, CancellationToken) + +

Run action on the threadPool and return to main thread if configureAwait = true.

+ + + + + RunOnThreadPool(Func<Object, UniTask>, Object, Boolean, CancellationToken) + +

Run action on the threadPool and return to main thread if configureAwait = true.

+ + + + + RunOnThreadPool<T>(Func<T>, Boolean, CancellationToken) + +

Run action on the threadPool and return to main thread if configureAwait = true.

+ + + + + RunOnThreadPool<T>(Func<UniTask<T>>, Boolean, CancellationToken) + +

Run action on the threadPool and return to main thread if configureAwait = true.

+ + + + + RunOnThreadPool<T>(Func<Object, T>, Object, Boolean, CancellationToken) + +

Run action on the threadPool and return to main thread if configureAwait = true.

+ + + + + RunOnThreadPool<T>(Func<Object, UniTask<T>>, Object, Boolean, CancellationToken) + +

Run action on the threadPool and return to main thread if configureAwait = true.

@@ -2252,6 +2308,378 @@ For example: FooAction = UniTask.Action(async () => { /* */ })

+ +
+ +

RunOnThreadPool(Action, Boolean, CancellationToken)

+

Run action on the threadPool and return to main thread if configureAwait = true.

+
+
+ +
+
public static UniTask RunOnThreadPool(Action action, bool configureAwait = true, CancellationToken cancellationToken = null)
+
+ +
+
Parameters
+
+
action System.Action
+
+
configureAwait System.Boolean
+
+
cancellationToken CancellationToken
+
+
+
+ +
+
Returns
+
+
UniTask
+
+
+
+ + + + + + + + + + + +
+
+ +

RunOnThreadPool(Action<Object>, Object, Boolean, CancellationToken)

+

Run action on the threadPool and return to main thread if configureAwait = true.

+
+
+ +
+
public static UniTask RunOnThreadPool(Action<object> action, object state, bool configureAwait = true, CancellationToken cancellationToken = null)
+
+ +
+
Parameters
+
+
action System.Action<System.Object>
+
+
state System.Object
+
+
configureAwait System.Boolean
+
+
cancellationToken CancellationToken
+
+
+
+ +
+
Returns
+
+
UniTask
+
+
+
+ + + + + + + + + + + +
+
+ +

RunOnThreadPool(Func<UniTask>, Boolean, CancellationToken)

+

Run action on the threadPool and return to main thread if configureAwait = true.

+
+
+ +
+
public static UniTask RunOnThreadPool(Func<UniTask> action, bool configureAwait = true, CancellationToken cancellationToken = null)
+
+ +
+
Parameters
+
+
action System.Func<UniTask>
+
+
configureAwait System.Boolean
+
+
cancellationToken CancellationToken
+
+
+
+ +
+
Returns
+
+
UniTask
+
+
+
+ + + + + + + + + + + +
+
+ +

RunOnThreadPool(Func<Object, UniTask>, Object, Boolean, CancellationToken)

+

Run action on the threadPool and return to main thread if configureAwait = true.

+
+
+ +
+
public static UniTask RunOnThreadPool(Func<object, UniTask> action, object state, bool configureAwait = true, CancellationToken cancellationToken = null)
+
+ +
+
Parameters
+
+
action System.Func<System.Object, UniTask>
+
+
state System.Object
+
+
configureAwait System.Boolean
+
+
cancellationToken CancellationToken
+
+
+
+ +
+
Returns
+
+
UniTask
+
+
+
+ + + + + + + + + + + +
+
+ +

RunOnThreadPool<T>(Func<T>, Boolean, CancellationToken)

+

Run action on the threadPool and return to main thread if configureAwait = true.

+
+
+ +
+
public static UniTask<T> RunOnThreadPool<T>(Func<T> func, bool configureAwait = true, CancellationToken cancellationToken = null)
+
+ +
+
Parameters
+
+
func System.Func<T>
+
+
configureAwait System.Boolean
+
+
cancellationToken CancellationToken
+
+
+
+ +
+
Returns
+
+
UniTask<T>
+
+
+
+ +
+
Type Parameters
+
+
T
+
+
+
+ + + + + + + + + + +
+
+ +

RunOnThreadPool<T>(Func<UniTask<T>>, Boolean, CancellationToken)

+

Run action on the threadPool and return to main thread if configureAwait = true.

+
+
+ +
+
public static UniTask<T> RunOnThreadPool<T>(Func<UniTask<T>> func, bool configureAwait = true, CancellationToken cancellationToken = null)
+
+ +
+
Parameters
+
+
func System.Func<UniTask<T>>
+
+
configureAwait System.Boolean
+
+
cancellationToken CancellationToken
+
+
+
+ +
+
Returns
+
+
UniTask<T>
+
+
+
+ +
+
Type Parameters
+
+
T
+
+
+
+ + + + + + + + + + +
+
+ +

RunOnThreadPool<T>(Func<Object, T>, Object, Boolean, CancellationToken)

+

Run action on the threadPool and return to main thread if configureAwait = true.

+
+
+ +
+
public static UniTask<T> RunOnThreadPool<T>(Func<object, T> func, object state, bool configureAwait = true, CancellationToken cancellationToken = null)
+
+ +
+
Parameters
+
+
func System.Func<System.Object, T>
+
+
state System.Object
+
+
configureAwait System.Boolean
+
+
cancellationToken CancellationToken
+
+
+
+ +
+
Returns
+
+
UniTask<T>
+
+
+
+ +
+
Type Parameters
+
+
T
+
+
+
+ + + + + + + + + + +
+
+ +

RunOnThreadPool<T>(Func<Object, UniTask<T>>, Object, Boolean, CancellationToken)

+

Run action on the threadPool and return to main thread if configureAwait = true.

+
+
+ +
+
public static UniTask<T> RunOnThreadPool<T>(Func<object, UniTask<T>> func, object state, bool configureAwait = true, CancellationToken cancellationToken = null)
+
+ +
+
Parameters
+
+
func System.Func<System.Object, UniTask<T>>
+
+
state System.Object
+
+
configureAwait System.Boolean
+
+
cancellationToken CancellationToken
+
+
+
+ +
+
Returns
+
+
UniTask<T>
+
+
+
+ +
+
Type Parameters
+
+
T
+
+
+
+ + + + + + + + + +
diff --git a/manifest.json b/manifest.json index 80aca4f..707f71f 100644 --- a/manifest.json +++ b/manifest.json @@ -2781,7 +2781,7 @@ "output": { ".html": { "relative_path": "api/Cysharp.Threading.Tasks.UniTask.html", - "hash": "alV0MQmSbuNs7m69EP3H1Q==" + "hash": "/BE8BcHd2tjW/v8jbUCTFg==" } }, "is_incremental": false, diff --git a/xrefmap.yml b/xrefmap.yml index b1f7bed..c1ec7b7 100644 --- a/xrefmap.yml +++ b/xrefmap.yml @@ -18089,6 +18089,82 @@ references: fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(Of T)(System.Func(Of System.Object, Cysharp.Threading.Tasks.UniTask(Of T)), System.Object, System.Boolean, CancellationToken) nameWithType: UniTask.Run(Func>, Object, Boolean, CancellationToken) nameWithType.vb: UniTask.Run(Of T)(Func(Of Object, UniTask(Of T)), Object, Boolean, CancellationToken) +- uid: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Action,System.Boolean,CancellationToken) + name: RunOnThreadPool(Action, Boolean, CancellationToken) + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_System_Action_System_Boolean_CancellationToken_ + commentId: M:Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Action,System.Boolean,CancellationToken) + fullName: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Action, System.Boolean, CancellationToken) + nameWithType: UniTask.RunOnThreadPool(Action, Boolean, CancellationToken) +- uid: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Action{System.Object},System.Object,System.Boolean,CancellationToken) + name: RunOnThreadPool(Action, Object, Boolean, CancellationToken) + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_System_Action_System_Object__System_Object_System_Boolean_CancellationToken_ + commentId: M:Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Action{System.Object},System.Object,System.Boolean,CancellationToken) + name.vb: RunOnThreadPool(Action(Of Object), Object, Boolean, CancellationToken) + fullName: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Action, System.Object, System.Boolean, CancellationToken) + fullName.vb: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Action(Of System.Object), System.Object, System.Boolean, CancellationToken) + nameWithType: UniTask.RunOnThreadPool(Action, Object, Boolean, CancellationToken) + nameWithType.vb: UniTask.RunOnThreadPool(Action(Of Object), Object, Boolean, CancellationToken) +- uid: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func{Cysharp.Threading.Tasks.UniTask},System.Boolean,CancellationToken) + name: RunOnThreadPool(Func, Boolean, CancellationToken) + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_System_Func_Cysharp_Threading_Tasks_UniTask__System_Boolean_CancellationToken_ + commentId: M:Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func{Cysharp.Threading.Tasks.UniTask},System.Boolean,CancellationToken) + name.vb: RunOnThreadPool(Func(Of UniTask), Boolean, CancellationToken) + fullName: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func, System.Boolean, CancellationToken) + fullName.vb: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func(Of Cysharp.Threading.Tasks.UniTask), System.Boolean, CancellationToken) + nameWithType: UniTask.RunOnThreadPool(Func, Boolean, CancellationToken) + nameWithType.vb: UniTask.RunOnThreadPool(Func(Of UniTask), Boolean, CancellationToken) +- uid: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask},System.Object,System.Boolean,CancellationToken) + name: RunOnThreadPool(Func, Object, Boolean, CancellationToken) + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask__System_Object_System_Boolean_CancellationToken_ + commentId: M:Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask},System.Object,System.Boolean,CancellationToken) + name.vb: RunOnThreadPool(Func(Of Object, UniTask), Object, Boolean, CancellationToken) + fullName: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func, System.Object, System.Boolean, CancellationToken) + fullName.vb: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func(Of System.Object, Cysharp.Threading.Tasks.UniTask), System.Object, System.Boolean, CancellationToken) + nameWithType: UniTask.RunOnThreadPool(Func, Object, Boolean, CancellationToken) + nameWithType.vb: UniTask.RunOnThreadPool(Func(Of Object, UniTask), Object, Boolean, CancellationToken) +- uid: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool* + name: RunOnThreadPool + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_ + commentId: Overload:Cysharp.Threading.Tasks.UniTask.RunOnThreadPool + isSpec: "True" + fullName: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool + nameWithType: UniTask.RunOnThreadPool +- uid: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool``1(System.Func{``0},System.Boolean,CancellationToken) + name: RunOnThreadPool(Func, Boolean, CancellationToken) + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool__1_System_Func___0__System_Boolean_CancellationToken_ + commentId: M:Cysharp.Threading.Tasks.UniTask.RunOnThreadPool``1(System.Func{``0},System.Boolean,CancellationToken) + name.vb: RunOnThreadPool(Of T)(Func(Of T), Boolean, CancellationToken) + fullName: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func, System.Boolean, CancellationToken) + fullName.vb: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(Of T)(System.Func(Of T), System.Boolean, CancellationToken) + nameWithType: UniTask.RunOnThreadPool(Func, Boolean, CancellationToken) + nameWithType.vb: UniTask.RunOnThreadPool(Of T)(Func(Of T), Boolean, CancellationToken) +- uid: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}},System.Boolean,CancellationToken) + name: RunOnThreadPool(Func>, Boolean, CancellationToken) + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___System_Boolean_CancellationToken_ + commentId: M:Cysharp.Threading.Tasks.UniTask.RunOnThreadPool``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}},System.Boolean,CancellationToken) + name.vb: RunOnThreadPool(Of T)(Func(Of UniTask(Of T)), Boolean, CancellationToken) + fullName: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func>, System.Boolean, CancellationToken) + fullName.vb: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(Of T)(System.Func(Of Cysharp.Threading.Tasks.UniTask(Of T)), System.Boolean, CancellationToken) + nameWithType: UniTask.RunOnThreadPool(Func>, Boolean, CancellationToken) + nameWithType.vb: UniTask.RunOnThreadPool(Of T)(Func(Of UniTask(Of T)), Boolean, CancellationToken) +- uid: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool``1(System.Func{System.Object,``0},System.Object,System.Boolean,CancellationToken) + name: RunOnThreadPool(Func, Object, Boolean, CancellationToken) + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool__1_System_Func_System_Object___0__System_Object_System_Boolean_CancellationToken_ + commentId: M:Cysharp.Threading.Tasks.UniTask.RunOnThreadPool``1(System.Func{System.Object,``0},System.Object,System.Boolean,CancellationToken) + name.vb: RunOnThreadPool(Of T)(Func(Of Object, T), Object, Boolean, CancellationToken) + fullName: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func, System.Object, System.Boolean, CancellationToken) + fullName.vb: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(Of T)(System.Func(Of System.Object, T), System.Object, System.Boolean, CancellationToken) + nameWithType: UniTask.RunOnThreadPool(Func, Object, Boolean, CancellationToken) + nameWithType.vb: UniTask.RunOnThreadPool(Of T)(Func(Of Object, T), Object, Boolean, CancellationToken) +- uid: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool``1(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask{``0}},System.Object,System.Boolean,CancellationToken) + name: RunOnThreadPool(Func>, Object, Boolean, CancellationToken) + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool__1_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask___0___System_Object_System_Boolean_CancellationToken_ + commentId: M:Cysharp.Threading.Tasks.UniTask.RunOnThreadPool``1(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask{``0}},System.Object,System.Boolean,CancellationToken) + name.vb: RunOnThreadPool(Of T)(Func(Of Object, UniTask(Of T)), Object, Boolean, CancellationToken) + fullName: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func>, System.Object, System.Boolean, CancellationToken) + fullName.vb: Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(Of T)(System.Func(Of System.Object, Cysharp.Threading.Tasks.UniTask(Of T)), System.Object, System.Boolean, CancellationToken) + nameWithType: UniTask.RunOnThreadPool(Func>, Object, Boolean, CancellationToken) + nameWithType.vb: UniTask.RunOnThreadPool(Of T)(Func(Of Object, UniTask(Of T)), Object, Boolean, CancellationToken) - uid: Cysharp.Threading.Tasks.UniTask.Status name: Status href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Status