2020-05-13 10:07:22 +08:00
<!DOCTYPE html>
<!-- [if IE]><![endif] -->
< html >
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" >
< title > UniTask Struct
| UniTask < / title >
< meta name = "viewport" content = "width=device-width" >
< meta name = "title" content = "UniTask Struct
| UniTask ">
2022-08-02 09:48:47 +08:00
< meta name = "generator" content = "docfx 2.59.2.0" >
2020-05-13 10:07:22 +08:00
< link rel = "shortcut icon" href = "../img/favicon.ico" >
< link rel = "stylesheet" href = "../styles/docfx.vendor.css" >
< link rel = "stylesheet" href = "../styles/docfx.css" >
< link rel = "stylesheet" href = "../styles/main.css" >
< link rel = "stylesheet" href = "../styles/cysharp.css" >
< meta property = "docfx:navrel" content = "../toc.html" >
< meta property = "docfx:tocrel" content = "toc.html" >
< / head >
< body data-spy = "scroll" data-target = "#affix" data-offset = "120" >
< div id = "wrapper" >
< header >
< nav id = "autocollapse" class = "navbar navbar-default ng-scope" role = "navigation" >
< div class = "container" >
< div class = "navbar-header" >
< button type = "button" class = "navbar-toggle" data-toggle = "collapse" data-target = "#navbar" >
< span class = "sr-only" > Toggle navigation< / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / button >
< div class = "navbar-brand" >
< a href = "../" >
< img id = "logo" src = "../img/Icon.png" alt = "" >
< span > UniTask< / span >
< / a >
< / div >
< / div >
< div class = "collapse navbar-collapse" id = "navbar" >
< form class = "navbar-form navbar-right" role = "search" id = "search" >
< div class = "form-group" >
< input type = "text" class = "form-control" id = "search-query" placeholder = "Search" autocomplete = "off" >
< / div >
< / form >
< / div >
< / div >
< / nav >
< div class = "subnav navbar navbar-default" >
< div class = "container hide-when-search" id = "breadcrumb" >
< ul class = "breadcrumb" >
< li > < / li >
< / ul >
< / div >
< / div >
< / header >
< div role = "main" class = "container body-content hide-when-search" >
< div class = "sidenav hide-when-search" >
< a class = "btn toc-toggle collapse" data-toggle = "collapse" href = "#sidetoggle" aria-expanded = "false" aria-controls = "sidetoggle" > Show / Hide Table of Contents< / a >
< div class = "sidetoggle collapse" id = "sidetoggle" >
< div id = "sidetoc" > < / div >
< / div >
< / div >
< div class = "article row grid-right" >
< div class = "col-md-10" >
< article class = "content wrap" id = "_content" data-uid = "Cysharp.Threading.Tasks.UniTask" >
< h1 id = "Cysharp_Threading_Tasks_UniTask" data-uid = "Cysharp.Threading.Tasks.UniTask" class = "text-break" > UniTask Struct
< / h1 >
< h6 > < strong > Namespace< / strong > : < a class = "xref" href = "Cysharp.Threading.Tasks.html" > Cysharp.Threading.Tasks< / a > < / h6 >
< h6 > < strong > Assembly< / strong > : cs.temp.dll.dll< / h6 >
< div class = "markdown level0 summary" > < p > Lightweight unity specified task-like object.< / p >
< / div >
< div class = "markdown level0 conceptual" > < / div >
< div class = "codewrapper" >
2022-08-02 09:48:47 +08:00
< pre > < code class = "lang-csharp hljs" > public readonly struct UniTask< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< h3 id = "members" > Members< / h3 >
< h4 > Constructors
< / h4 >
< table class = "table table-condensed" >
< thead >
< tr >
< th > Name< / th >
< th > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask__ctor_Cysharp_Threading_Tasks_IUniTaskSource_System_Int16_" > UniTask(IUniTaskSource, Int16)< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< / tbody >
< / table >
< h4 > Fields
< / h4 >
< table class = "table table-condensed" >
< thead >
< tr >
< th > Name< / th >
< th > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_CompletedTask" > CompletedTask< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< / tbody >
< / table >
< h4 > Properties
< / h4 >
< table class = "table table-condensed" >
< thead >
< tr >
< th > Name< / th >
< th > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Status" > Status< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< / tbody >
< / table >
< h4 > Methods
< / h4 >
< table class = "table table-condensed" >
< thead >
< tr >
< th > Name< / th >
< th > Description< / th >
< / tr >
< / thead >
< tbody >
2020-06-03 09:29:36 +08:00
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Action_System_Func_Cysharp_Threading_Tasks_UniTaskVoid__" > Action(Func< UniTaskVoid> )< / a >
2020-06-03 09:29:36 +08:00
< / td >
2023-10-26 12:13:49 +08:00
< td class = "markdown level1 summary" > < p > helper of create add UniTaskVoid to delegate.
For example: FooAction = UniTask.Action(async () => { /* */ })< / p >
2020-06-03 09:29:36 +08:00
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Action_System_Func_System_Threading_CancellationToken_Cysharp_Threading_Tasks_UniTaskVoid__System_Threading_CancellationToken_" > Action(Func< CancellationToken, UniTaskVoid> , CancellationToken)< / a >
2020-06-03 09:29:36 +08:00
< / td >
2023-10-26 12:13:49 +08:00
< td class = "markdown level1 summary" > < p > helper of create add UniTaskVoid to delegate.< / p >
2020-06-03 09:29:36 +08:00
< / td >
< / tr >
2020-05-13 10:07:22 +08:00
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_AsAsyncUnitUniTask" > AsAsyncUnitUniTask()< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Create_System_Func_Cysharp_Threading_Tasks_UniTask__" > Create(Func< UniTask> )< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Create__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___" > Create< T> (Func< UniTask< T> > )< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Defer_System_Func_Cysharp_Threading_Tasks_UniTask__" > Defer(Func< UniTask> )< / a >
2020-06-03 09:29:36 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Defer the task creation just before call await.< / p >
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Defer__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___" > Defer< T> (Func< UniTask< T> > )< / a >
2020-06-03 09:29:36 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Defer the task creation just before call await.< / p >
< / td >
< / tr >
2020-06-25 22:04:27 +08:00
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Delay_System_Int32_Cysharp_Threading_Tasks_DelayType_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" > Delay(Int32, DelayType, PlayerLoopTiming, CancellationToken, Boolean)< / a >
2020-06-25 22:04:27 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
2020-06-03 09:29:36 +08:00
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Delay_System_Int32_System_Boolean_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" > Delay(Int32, Boolean, PlayerLoopTiming, CancellationToken, Boolean)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Delay_System_TimeSpan_Cysharp_Threading_Tasks_DelayType_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" > Delay(TimeSpan, DelayType, PlayerLoopTiming, CancellationToken, Boolean)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Delay_System_TimeSpan_System_Boolean_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" > Delay(TimeSpan, Boolean, PlayerLoopTiming, CancellationToken, Boolean)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
2020-06-24 04:06:02 +08:00
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_DelayFrame_System_Int32_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" > DelayFrame(Int32, PlayerLoopTiming, CancellationToken, Boolean)< / a >
2020-06-24 04:06:02 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
2020-05-13 10:07:22 +08:00
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_FromCanceled_System_Threading_CancellationToken_" > FromCanceled(CancellationToken)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_FromCanceled__1_System_Threading_CancellationToken_" > FromCanceled< T> (CancellationToken)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_FromException_System_Exception_" > FromException(Exception)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_FromException__1_System_Exception_" > FromException< T> (Exception)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_FromResult__1___0_" > FromResult< T> (T)< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_GetAwaiter" > GetAwaiter()< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Lazy_System_Func_Cysharp_Threading_Tasks_UniTask__" > Lazy(Func< UniTask> )< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Lazy__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___" > Lazy< T> (Func< UniTask< T> > )< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
2020-06-30 03:02:41 +08:00
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Never_System_Threading_CancellationToken_" > Never(CancellationToken)< / a >
2020-06-30 03:02:41 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Never complete.< / p >
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Never__1_System_Threading_CancellationToken_" > Never< T> (CancellationToken)< / a >
2020-06-30 03:02:41 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Never complete.< / p >
2021-03-02 14:17:34 +08:00
< / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_NextFrame" > NextFrame()< / a >
< / td >
< td class = "markdown level1 summary" > < p > Similar as UniTask.Yield but guaranteed run on next frame.< / p >
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_NextFrame_Cysharp_Threading_Tasks_PlayerLoopTiming_" > NextFrame(PlayerLoopTiming)< / a >
2021-03-02 14:17:34 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Similar as UniTask.Yield but guaranteed run on next frame.< / p >
< / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_NextFrame_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" > NextFrame(PlayerLoopTiming, CancellationToken, Boolean)< / a >
2021-03-02 14:17:34 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Similar as UniTask.Yield but guaranteed run on next frame.< / p >
2020-06-30 03:02:41 +08:00
< / td >
< / tr >
2020-06-08 00:47:36 +08:00
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_NextFrame_System_Threading_CancellationToken_System_Boolean_" > NextFrame(CancellationToken, Boolean)< / a >
2020-06-08 00:47:36 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Similar as UniTask.Yield but guaranteed run on next frame.< / p >
< / td >
< / tr >
2020-05-13 10:07:22 +08:00
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Preserve" > Preserve()< / a >
< / td >
< td class = "markdown level1 summary" > < p > Memoizing inner IValueTaskSource. The result UniTask can await multiple.< / p >
< / td >
< / tr >
2020-06-03 09:29:36 +08:00
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_ReturnToCurrentSynchronizationContext_System_Boolean_System_Threading_CancellationToken_" > ReturnToCurrentSynchronizationContext(Boolean, CancellationToken)< / a >
2020-06-03 09:29:36 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_ReturnToSynchronizationContext_System_Threading_SynchronizationContext_System_Threading_CancellationToken_" > ReturnToSynchronizationContext(SynchronizationContext, CancellationToken)< / a >
2020-06-03 09:29:36 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
2020-05-13 10:07:22 +08:00
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Boolean_System_Threading_CancellationToken_" > Run(Action, Boolean, CancellationToken)< / a >
2020-06-18 02:41:38 +08:00
< / td >
2022-03-03 06:33:45 +08:00
< td class = "markdown level1 summary" > < / td >
2020-06-18 02:41:38 +08:00
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Object__System_Object_System_Boolean_System_Threading_CancellationToken_" > Run(Action< Object> , Object, Boolean, CancellationToken)< / a >
2020-06-18 02:41:38 +08:00
< / td >
2022-03-03 06:33:45 +08:00
< td class = "markdown level1 summary" > < / td >
2020-06-18 02:41:38 +08:00
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Func_Cysharp_Threading_Tasks_UniTask__System_Boolean_System_Threading_CancellationToken_" > Run(Func< UniTask> , Boolean, CancellationToken)< / a >
2020-06-18 02:41:38 +08:00
< / td >
2022-03-03 06:33:45 +08:00
< td class = "markdown level1 summary" > < / td >
2020-06-18 02:41:38 +08:00
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask__System_Object_System_Boolean_System_Threading_CancellationToken_" > Run(Func< Object, UniTask> , Object, Boolean, CancellationToken)< / a >
2020-06-18 02:41:38 +08:00
< / td >
2022-03-03 06:33:45 +08:00
< td class = "markdown level1 summary" > < / td >
2020-06-18 02:41:38 +08:00
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func___0__System_Boolean_System_Threading_CancellationToken_" > Run< T> (Func< T> , Boolean, CancellationToken)< / a >
2020-05-13 10:07:22 +08:00
< / td >
2022-03-03 06:33:45 +08:00
< td class = "markdown level1 summary" > < / td >
2020-05-13 10:07:22 +08:00
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___System_Boolean_System_Threading_CancellationToken_" > Run< T> (Func< UniTask< T> > , Boolean, CancellationToken)< / a >
2020-05-13 10:07:22 +08:00
< / td >
2022-03-03 06:33:45 +08:00
< td class = "markdown level1 summary" > < / td >
2020-05-13 10:07:22 +08:00
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object___0__System_Object_System_Boolean_System_Threading_CancellationToken_" > Run< T> (Func< Object, T> , Object, Boolean, CancellationToken)< / a >
2020-05-13 10:07:22 +08:00
< / td >
2022-03-03 06:33:45 +08:00
< td class = "markdown level1 summary" > < / td >
2020-05-13 10:07:22 +08:00
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask___0___System_Object_System_Boolean_System_Threading_CancellationToken_" > Run< T> (Func< Object, UniTask< T> > , Object, Boolean, CancellationToken)< / a >
2020-05-13 10:07:22 +08:00
< / td >
2022-03-03 06:33:45 +08:00
< td class = "markdown level1 summary" > < / td >
2020-09-07 16:57:49 +08:00
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_System_Action_System_Boolean_System_Threading_CancellationToken_" > RunOnThreadPool(Action, Boolean, CancellationToken)< / a >
2020-09-07 16:57:49 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_System_Action_System_Object__System_Object_System_Boolean_System_Threading_CancellationToken_" > RunOnThreadPool(Action< Object> , Object, Boolean, CancellationToken)< / a >
2020-09-07 16:57:49 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_System_Func_Cysharp_Threading_Tasks_UniTask__System_Boolean_System_Threading_CancellationToken_" > RunOnThreadPool(Func< UniTask> , Boolean, CancellationToken)< / a >
2020-09-07 16:57:49 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask__System_Object_System_Boolean_System_Threading_CancellationToken_" > RunOnThreadPool(Func< Object, UniTask> , Object, Boolean, CancellationToken)< / a >
2020-09-07 16:57:49 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool__1_System_Func___0__System_Boolean_System_Threading_CancellationToken_" > RunOnThreadPool< T> (Func< T> , Boolean, CancellationToken)< / a >
2020-09-07 16:57:49 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___System_Boolean_System_Threading_CancellationToken_" > RunOnThreadPool< T> (Func< UniTask< T> > , Boolean, CancellationToken)< / a >
2020-09-07 16:57:49 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool__1_System_Func_System_Object___0__System_Object_System_Boolean_System_Threading_CancellationToken_" > RunOnThreadPool< T> (Func< Object, T> , Object, Boolean, CancellationToken)< / a >
2020-09-07 16:57:49 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_RunOnThreadPool__1_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask___0___System_Object_System_Boolean_System_Threading_CancellationToken_" > RunOnThreadPool< T> (Func< Object, UniTask< T> > , Object, Boolean, CancellationToken)< / a >
2020-09-07 16:57:49 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
2020-05-13 10:07:22 +08:00
< / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_SuppressCancellationThrow" > SuppressCancellationThrow()< / a >
< / td >
< td class = "markdown level1 summary" > < p > returns (bool IsCanceled) instead of throws OperationCanceledException.< / p >
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_SwitchToSynchronizationContext_System_Threading_SynchronizationContext_System_Threading_CancellationToken_" > SwitchToSynchronizationContext(SynchronizationContext, CancellationToken)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_SwitchToTaskPool" > SwitchToTaskPool()< / a >
< / td >
2020-06-03 09:29:36 +08:00
< td class = "markdown level1 summary" > < p > Note: use SwitchToThreadPool is recommended.< / p >
< / td >
2020-05-13 10:07:22 +08:00
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_SwitchToThreadPool" > SwitchToThreadPool()< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_ToCoroutine_System_Func_Cysharp_Threading_Tasks_UniTask__" > ToCoroutine(Func< UniTask> )< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_ToString" > ToString()< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Void_System_Func_Cysharp_Threading_Tasks_UniTaskVoid__" > Void(Func< UniTaskVoid> )< / a >
2020-06-03 09:29:36 +08:00
< / td >
2020-06-04 14:48:57 +08:00
< td class = "markdown level1 summary" > < p > helper of fire and forget void action.< / p >
2020-06-03 09:29:36 +08:00
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Void_System_Func_System_Threading_CancellationToken_Cysharp_Threading_Tasks_UniTaskVoid__System_Threading_CancellationToken_" > Void(Func< CancellationToken, UniTaskVoid> , CancellationToken)< / a >
2020-05-13 10:07:22 +08:00
< / td >
2020-06-04 14:48:57 +08:00
< td class = "markdown level1 summary" > < p > helper of fire and forget void action.< / p >
2020-05-13 10:07:22 +08:00
< / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Void__1_System_Func___0_Cysharp_Threading_Tasks_UniTaskVoid____0_" > Void< T> (Func< T, UniTaskVoid> , T)< / a >
2020-05-13 10:07:22 +08:00
< / td >
2020-06-04 14:48:57 +08:00
< td class = "markdown level1 summary" > < p > helper of fire and forget void action.< / p >
2020-06-08 00:47:36 +08:00
< / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame" > WaitForEndOfFrame()< / a >
< / td >
2022-03-03 06:24:35 +08:00
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame_MonoBehaviour_" > WaitForEndOfFrame(MonoBehaviour)< / a >
2022-03-03 06:24:35 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
2020-06-08 00:47:36 +08:00
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame_MonoBehaviour_System_Threading_CancellationToken_System_Boolean_" > WaitForEndOfFrame(MonoBehaviour, CancellationToken, Boolean)< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame_System_Threading_CancellationToken_System_Boolean_" > WaitForEndOfFrame(CancellationToken, Boolean)< / a >
2020-06-08 00:47:36 +08:00
< / td >
2022-03-03 06:24:35 +08:00
< td class = "markdown level1 summary" > < / td >
2020-06-08 01:24:11 +08:00
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitForFixedUpdate" > WaitForFixedUpdate()< / a >
< / td >
2022-10-24 20:58:10 +08:00
< td class = "markdown level1 summary" > < p > Same as UniTask.Yield(PlayerLoopTiming.LastFixedUpdate).< / p >
2020-06-08 01:24:11 +08:00
< / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitForFixedUpdate_System_Threading_CancellationToken_System_Boolean_" > WaitForFixedUpdate(CancellationToken, Boolean)< / a >
2020-06-08 01:24:11 +08:00
< / td >
2022-10-24 20:58:10 +08:00
< td class = "markdown level1 summary" > < p > Same as UniTask.Yield(PlayerLoopTiming.LastFixedUpdate, cancellationToken).< / p >
2020-05-13 10:07:22 +08:00
< / td >
< / tr >
2023-06-23 18:07:17 +08:00
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitForSeconds_System_Int32_System_Boolean_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" > WaitForSeconds(Int32, Boolean, PlayerLoopTiming, CancellationToken, Boolean)< / a >
2023-06-23 18:07:17 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitForSeconds_System_Single_System_Boolean_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" > WaitForSeconds(Single, Boolean, PlayerLoopTiming, CancellationToken, Boolean)< / a >
2023-06-23 18:07:17 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
2020-05-13 10:07:22 +08:00
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitUntil_System_Func_System_Boolean__Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" > WaitUntil(Func< Boolean> , PlayerLoopTiming, CancellationToken, Boolean)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitUntilCanceled_System_Threading_CancellationToken_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Boolean_" > WaitUntilCanceled(CancellationToken, PlayerLoopTiming, Boolean)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitUntilValueChanged__2___0_System_Func___0___1__Cysharp_Threading_Tasks_PlayerLoopTiming_IEqualityComparer___1__System_Threading_CancellationToken_System_Boolean_" > WaitUntilValueChanged< T, U> (T, Func< T, U> , PlayerLoopTiming, IEqualityComparer< U> , CancellationToken, Boolean)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitWhile_System_Func_System_Boolean__Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" > WaitWhile(Func< Boolean> , PlayerLoopTiming, CancellationToken, Boolean)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll_Cysharp_Threading_Tasks_UniTask___" > WhenAll(UniTask[])< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll_IEnumerable_Cysharp_Threading_Tasks_UniTask__" > WhenAll(IEnumerable< UniTask> )< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__1_Cysharp_Threading_Tasks_UniTask___0____" > WhenAll< T> (UniTask< T> [])< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__1_IEnumerable_Cysharp_Threading_Tasks_UniTask___0___" > WhenAll< T> (IEnumerable< UniTask< T> > )< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__10_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__11_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__12_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__13_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__Cysharp_Threading_Tasks_UniTask___12__" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> , UniTask< T13> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__14_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__Cysharp_Threading_Tasks_UniTask___12__Cysharp_Threading_Tasks_UniTask___13__" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> , UniTask< T13> , UniTask< T14> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__15_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__Cysharp_Threading_Tasks_UniTask___12__Cysharp_Threading_Tasks_UniTask___13__Cysharp_Threading_Tasks_UniTask___14__" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> , UniTask< T13> , UniTask< T14> , UniTask< T15> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__2_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__" > WhenAll< T1, T2> (UniTask< T1> , UniTask< T2> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__3_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__" > WhenAll< T1, T2, T3> (UniTask< T1> , UniTask< T2> , UniTask< T3> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__4_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__" > WhenAll< T1, T2, T3, T4> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__5_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__" > WhenAll< T1, T2, T3, T4, T5> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__6_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__" > WhenAll< T1, T2, T3, T4, T5, T6> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__7_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__" > WhenAll< T1, T2, T3, T4, T5, T6, T7> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__8_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAll__9_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny_Cysharp_Threading_Tasks_UniTask___" > WhenAny(UniTask[])< / a >
< / td >
< td class = "markdown level1 summary" > < p > Return value is winArgumentIndex< / p >
< / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny_IEnumerable_Cysharp_Threading_Tasks_UniTask__" > WhenAny(IEnumerable< UniTask> )< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < p > Return value is winArgumentIndex< / p >
< / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__1_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask_" > WhenAny< T> (UniTask< T> , UniTask)< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__1_Cysharp_Threading_Tasks_UniTask___0____" > WhenAny< T> (UniTask< T> [])< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__1_IEnumerable_Cysharp_Threading_Tasks_UniTask___0___" > WhenAny< T> (IEnumerable< UniTask< T> > )< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__10_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__11_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__12_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__13_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__Cysharp_Threading_Tasks_UniTask___12__" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> , UniTask< T13> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__14_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__Cysharp_Threading_Tasks_UniTask___12__Cysharp_Threading_Tasks_UniTask___13__" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> , UniTask< T13> , UniTask< T14> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__15_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__Cysharp_Threading_Tasks_UniTask___12__Cysharp_Threading_Tasks_UniTask___13__Cysharp_Threading_Tasks_UniTask___14__" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> , UniTask< T13> , UniTask< T14> , UniTask< T15> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__2_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__" > WhenAny< T1, T2> (UniTask< T1> , UniTask< T2> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__3_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__" > WhenAny< T1, T2, T3> (UniTask< T1> , UniTask< T2> , UniTask< T3> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__4_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__" > WhenAny< T1, T2, T3, T4> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__5_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__" > WhenAny< T1, T2, T3, T4, T5> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__6_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__" > WhenAny< T1, T2, T3, T4, T5, T6> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__7_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__" > WhenAny< T1, T2, T3, T4, T5, T6, T7> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__8_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WhenAny__9_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> )< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
2021-03-02 14:17:34 +08:00
< tr >
< td >
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Yield" > Yield()< / a >
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-10-26 12:13:49 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Yield_Cysharp_Threading_Tasks_PlayerLoopTiming_" > Yield(PlayerLoopTiming)< / a >
2021-03-02 14:17:34 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
2020-05-13 10:07:22 +08:00
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Yield_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" > Yield(PlayerLoopTiming, CancellationToken, Boolean)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< tr >
< td >
2023-11-02 12:54:10 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Yield_System_Threading_CancellationToken_System_Boolean_" > Yield(CancellationToken, Boolean)< / a >
2020-06-03 09:29:36 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< / tbody >
< / table >
< h4 > Operators
< / h4 >
< table class = "table table-condensed" >
< thead >
< tr >
< th > Name< / th >
< th > Description< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td >
2022-08-02 09:48:47 +08:00
< a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_op_Implicit_Cysharp_Threading_Tasks_UniTask___System_Threading_Tasks_ValueTask" > Implicit(in UniTask to ValueTask)< / a >
2020-05-13 10:07:22 +08:00
< / td >
< td class = "markdown level1 summary" > < / td >
< / tr >
< / tbody >
< / table >
< h3 id = "constructors" > Constructors
< / h3 >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask__ctor_" data-uid = "Cysharp.Threading.Tasks.UniTask.#ctor*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask__ctor_Cysharp_Threading_Tasks_IUniTaskSource_System_Int16_" data-uid = "Cysharp.Threading.Tasks.UniTask.#ctor(Cysharp.Threading.Tasks.IUniTaskSource,System.Int16)" > UniTask(IUniTaskSource, Int16)< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public UniTask(IUniTaskSource source, short token)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > source< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.IUniTaskSource.html" > IUniTaskSource< / a > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > token< / code > < / span > < span class = "xref" > System.Int16< / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< h3 id = "fields" > Fields
< / h3 >
< section >
< h4 id = "Cysharp_Threading_Tasks_UniTask_CompletedTask" data-uid = "Cysharp.Threading.Tasks.UniTask.CompletedTask" > CompletedTask< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static readonly UniTask CompletedTask< / code > < / pre >
< / div >
< section >
< h5 class = "fieldValue" > Field Value< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< h3 id = "properties" > Properties
< / h3 >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Status_" data-uid = "Cysharp.Threading.Tasks.UniTask.Status*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_Status" data-uid = "Cysharp.Threading.Tasks.UniTask.Status" > Status< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2022-08-02 09:48:47 +08:00
< pre > < code class = "lang-csharp hljs" > public readonly UniTaskStatus Status { get; }< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "propertyValue" > Property Value< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTaskStatus.html" > UniTaskStatus< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< h3 id = "methods" > Methods
< / h3 >
< section >
2020-06-03 09:29:36 +08:00
< a id = "Cysharp_Threading_Tasks_UniTask_Action_" data-uid = "Cysharp.Threading.Tasks.UniTask.Action*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Action_System_Func_Cysharp_Threading_Tasks_UniTaskVoid__" data-uid = "Cysharp.Threading.Tasks.UniTask.Action(System.Func{Cysharp.Threading.Tasks.UniTaskVoid})" > Action(Func< UniTaskVoid> )< / h4 >
< div class = "markdown level1 summary" > < p > helper of create add UniTaskVoid to delegate.
For example: FooAction = UniTask.Action(async () => { /* */ })< / p >
2020-06-03 09:29:36 +08:00
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static Action Action(Func< UniTaskVoid> asyncAction)< / code > < / pre >
2020-06-03 09:29:36 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > asyncAction< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTaskVoid.html" > UniTaskVoid< / a > > < / dt >
2020-06-03 09:29:36 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "xref" > System.Action< / span > < / dt >
2020-06-03 09:29:36 +08:00
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Action_" data-uid = "Cysharp.Threading.Tasks.UniTask.Action*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Action_System_Func_System_Threading_CancellationToken_Cysharp_Threading_Tasks_UniTaskVoid__System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.Action(System.Func{System.Threading.CancellationToken,Cysharp.Threading.Tasks.UniTaskVoid},System.Threading.CancellationToken)" > Action(Func< CancellationToken, UniTaskVoid> , CancellationToken)< / h4 >
< div class = "markdown level1 summary" > < p > helper of create add UniTaskVoid to delegate.< / p >
2020-06-03 09:29:36 +08:00
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static Action Action(Func< CancellationToken, UniTaskVoid> asyncAction, CancellationToken cancellationToken)< / code > < / pre >
2020-06-03 09:29:36 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > asyncAction< / code > < / span > < span class = "xref" > System.Func< / span > < < span class = "xref" > System.Threading.CancellationToken< / span > , < a class = "xref" href = "Cysharp.Threading.Tasks.UniTaskVoid.html" > UniTaskVoid< / a > > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-06-03 09:29:36 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "xref" > System.Action< / span > < / dt >
2020-06-03 09:29:36 +08:00
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
2020-05-13 10:07:22 +08:00
< a id = "Cysharp_Threading_Tasks_UniTask_AsAsyncUnitUniTask_" data-uid = "Cysharp.Threading.Tasks.UniTask.AsAsyncUnitUniTask*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_AsAsyncUnitUniTask" data-uid = "Cysharp.Threading.Tasks.UniTask.AsAsyncUnitUniTask" > AsAsyncUnitUniTask()< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2022-08-02 09:48:47 +08:00
< pre > < code class = "lang-csharp hljs" > public readonly UniTask< AsyncUnit> AsAsyncUnitUniTask()< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < a class = "xref" href = "Cysharp.Threading.Tasks.AsyncUnit.html" > AsyncUnit< / a > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Create_" data-uid = "Cysharp.Threading.Tasks.UniTask.Create*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Create_System_Func_Cysharp_Threading_Tasks_UniTask__" data-uid = "Cysharp.Threading.Tasks.UniTask.Create(System.Func{Cysharp.Threading.Tasks.UniTask})" > Create(Func< UniTask> )< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask Create(Func< UniTask> factory)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > factory< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Create_" data-uid = "Cysharp.Threading.Tasks.UniTask.Create*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Create__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___" data-uid = "Cysharp.Threading.Tasks.UniTask.Create``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}})" > Create< T> (Func< UniTask< T> > )< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< T> Create< T> (Func< UniTask< T> > factory)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > factory< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-06-03 09:29:36 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Defer_" data-uid = "Cysharp.Threading.Tasks.UniTask.Defer*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Defer_System_Func_Cysharp_Threading_Tasks_UniTask__" data-uid = "Cysharp.Threading.Tasks.UniTask.Defer(System.Func{Cysharp.Threading.Tasks.UniTask})" > Defer(Func< UniTask> )< / h4 >
2020-06-03 09:29:36 +08:00
< div class = "markdown level1 summary" > < p > Defer the task creation just before call await.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask Defer(Func< UniTask> factory)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > factory< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > > < / dt >
2020-06-03 09:29:36 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Defer_" data-uid = "Cysharp.Threading.Tasks.UniTask.Defer*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Defer__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___" data-uid = "Cysharp.Threading.Tasks.UniTask.Defer``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}})" > Defer< T> (Func< UniTask< T> > )< / h4 >
2020-06-03 09:29:36 +08:00
< div class = "markdown level1 summary" > < p > Defer the task creation just before call await.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< T> Defer< T> (Func< UniTask< T> > factory)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > factory< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> > < / dt >
2020-06-03 09:29:36 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-06-25 22:04:27 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Delay_" data-uid = "Cysharp.Threading.Tasks.UniTask.Delay*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Delay_System_Int32_Cysharp_Threading_Tasks_DelayType_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.Delay(System.Int32,Cysharp.Threading.Tasks.DelayType,Cysharp.Threading.Tasks.PlayerLoopTiming,System.Threading.CancellationToken,System.Boolean)" > Delay(Int32, DelayType, PlayerLoopTiming, CancellationToken, Boolean)< / h4 >
2020-06-25 22:04:27 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask Delay(int millisecondsDelay, DelayType delayType, PlayerLoopTiming delayTiming = PlayerLoopTiming.Update, CancellationToken cancellationToken = default(CancellationToken), bool cancelImmediately = false)< / code > < / pre >
2020-06-25 22:04:27 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > millisecondsDelay< / code > < / span > < span class = "xref" > System.Int32< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > delayType< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.DelayType.html" > DelayType< / a > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > delayTiming< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-06-25 22:04:27 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-06-25 22:04:27 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-05-13 10:07:22 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Delay_" data-uid = "Cysharp.Threading.Tasks.UniTask.Delay*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Delay_System_Int32_System_Boolean_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.Delay(System.Int32,System.Boolean,Cysharp.Threading.Tasks.PlayerLoopTiming,System.Threading.CancellationToken,System.Boolean)" > Delay(Int32, Boolean, PlayerLoopTiming, CancellationToken, Boolean)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask Delay(int millisecondsDelay, bool ignoreTimeScale = false, PlayerLoopTiming delayTiming = PlayerLoopTiming.Update, CancellationToken cancellationToken = default(CancellationToken), bool cancelImmediately = false)< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > millisecondsDelay< / code > < / span > < span class = "xref" > System.Int32< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > ignoreTimeScale< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > delayTiming< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Delay_" data-uid = "Cysharp.Threading.Tasks.UniTask.Delay*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Delay_System_TimeSpan_Cysharp_Threading_Tasks_DelayType_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.Delay(System.TimeSpan,Cysharp.Threading.Tasks.DelayType,Cysharp.Threading.Tasks.PlayerLoopTiming,System.Threading.CancellationToken,System.Boolean)" > Delay(TimeSpan, DelayType, PlayerLoopTiming, CancellationToken, Boolean)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask Delay(TimeSpan delayTimeSpan, DelayType delayType, PlayerLoopTiming delayTiming = PlayerLoopTiming.Update, CancellationToken cancellationToken = default(CancellationToken), bool cancelImmediately = false)< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > delayTimeSpan< / code > < / span > < span class = "xref" > System.TimeSpan< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
2020-06-25 22:04:27 +08:00
< dt > < span class = "parametername" > < code > delayType< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.DelayType.html" > DelayType< / a > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > delayTiming< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
2020-06-25 22:04:27 +08:00
< a id = "Cysharp_Threading_Tasks_UniTask_Delay_" data-uid = "Cysharp.Threading.Tasks.UniTask.Delay*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Delay_System_TimeSpan_System_Boolean_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.Delay(System.TimeSpan,System.Boolean,Cysharp.Threading.Tasks.PlayerLoopTiming,System.Threading.CancellationToken,System.Boolean)" > Delay(TimeSpan, Boolean, PlayerLoopTiming, CancellationToken, Boolean)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask Delay(TimeSpan delayTimeSpan, bool ignoreTimeScale = false, PlayerLoopTiming delayTiming = PlayerLoopTiming.Update, CancellationToken cancellationToken = default(CancellationToken), bool cancelImmediately = false)< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > delayTimeSpan< / code > < / span > < span class = "xref" > System.TimeSpan< / span > < / dt >
2020-06-25 22:04:27 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > ignoreTimeScale< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > delayTiming< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-06-24 04:06:02 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-06-24 04:06:02 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
2020-06-25 22:04:27 +08:00
< a id = "Cysharp_Threading_Tasks_UniTask_DelayFrame_" data-uid = "Cysharp.Threading.Tasks.UniTask.DelayFrame*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_DelayFrame_System_Int32_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.DelayFrame(System.Int32,Cysharp.Threading.Tasks.PlayerLoopTiming,System.Threading.CancellationToken,System.Boolean)" > DelayFrame(Int32, PlayerLoopTiming, CancellationToken, Boolean)< / h4 >
2020-06-24 04:06:02 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask DelayFrame(int delayFrameCount, PlayerLoopTiming delayTiming = PlayerLoopTiming.Update, CancellationToken cancellationToken = default(CancellationToken), bool cancelImmediately = false)< / code > < / pre >
2020-06-24 04:06:02 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2020-06-25 22:04:27 +08:00
< dt > < span class = "parametername" > < code > delayFrameCount< / code > < / span > < span class = "xref" > System.Int32< / span > < / dt >
2020-06-24 04:06:02 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > delayTiming< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_FromCanceled_" data-uid = "Cysharp.Threading.Tasks.UniTask.FromCanceled*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_FromCanceled_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.FromCanceled(System.Threading.CancellationToken)" > FromCanceled(CancellationToken)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask FromCanceled(CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_FromCanceled_" data-uid = "Cysharp.Threading.Tasks.UniTask.FromCanceled*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_FromCanceled__1_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.FromCanceled``1(System.Threading.CancellationToken)" > FromCanceled< T> (CancellationToken)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask< T> FromCanceled< T> (CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_FromException_" data-uid = "Cysharp.Threading.Tasks.UniTask.FromException*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_FromException_System_Exception_" data-uid = "Cysharp.Threading.Tasks.UniTask.FromException(System.Exception)" > FromException(Exception)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask FromException(Exception ex)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > ex< / code > < / span > < span class = "xref" > System.Exception< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_FromException_" data-uid = "Cysharp.Threading.Tasks.UniTask.FromException*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_FromException__1_System_Exception_" data-uid = "Cysharp.Threading.Tasks.UniTask.FromException``1(System.Exception)" > FromException< T> (Exception)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< T> FromException< T> (Exception ex)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > ex< / code > < / span > < span class = "xref" > System.Exception< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_FromResult_" data-uid = "Cysharp.Threading.Tasks.UniTask.FromResult*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_FromResult__1___0_" data-uid = "Cysharp.Threading.Tasks.UniTask.FromResult``1(``0)" > FromResult< T> (T)< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< T> FromResult< T> (T value)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > value< / code > < / span > < span class = "xref" > T< / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_GetAwaiter_" data-uid = "Cysharp.Threading.Tasks.UniTask.GetAwaiter*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_GetAwaiter" data-uid = "Cysharp.Threading.Tasks.UniTask.GetAwaiter" > GetAwaiter()< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2022-08-02 09:48:47 +08:00
< pre > < code class = "lang-csharp hljs" > public readonly UniTask.Awaiter GetAwaiter()< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.Awaiter.html" > UniTask.Awaiter< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Lazy_" data-uid = "Cysharp.Threading.Tasks.UniTask.Lazy*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Lazy_System_Func_Cysharp_Threading_Tasks_UniTask__" data-uid = "Cysharp.Threading.Tasks.UniTask.Lazy(System.Func{Cysharp.Threading.Tasks.UniTask})" > Lazy(Func< UniTask> )< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static AsyncLazy Lazy(Func< UniTask> factory)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > factory< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.AsyncLazy.html" > AsyncLazy< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Lazy_" data-uid = "Cysharp.Threading.Tasks.UniTask.Lazy*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Lazy__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___" data-uid = "Cysharp.Threading.Tasks.UniTask.Lazy``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}})" > Lazy< T> (Func< UniTask< T> > )< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static AsyncLazy< T> Lazy< T> (Func< UniTask< T> > factory)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > factory< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.AsyncLazy-1.html" > AsyncLazy< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-06-30 03:02:41 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Never_" data-uid = "Cysharp.Threading.Tasks.UniTask.Never*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Never_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.Never(System.Threading.CancellationToken)" > Never(CancellationToken)< / h4 >
2020-06-30 03:02:41 +08:00
< div class = "markdown level1 summary" > < p > Never complete.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask Never(CancellationToken cancellationToken)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-06-30 03:02:41 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Never_" data-uid = "Cysharp.Threading.Tasks.UniTask.Never*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Never__1_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.Never``1(System.Threading.CancellationToken)" > Never< T> (CancellationToken)< / h4 >
2020-06-30 03:02:41 +08:00
< div class = "markdown level1 summary" > < p > Never complete.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< T> Never< T> (CancellationToken cancellationToken)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-06-30 03:02:41 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
2021-03-02 14:17:34 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_NextFrame_" data-uid = "Cysharp.Threading.Tasks.UniTask.NextFrame*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_NextFrame" data-uid = "Cysharp.Threading.Tasks.UniTask.NextFrame" > NextFrame()< / h4 >
< div class = "markdown level1 summary" > < p > Similar as UniTask.Yield but guaranteed run on next frame.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask NextFrame()< / code > < / pre >
< / div >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_NextFrame_" data-uid = "Cysharp.Threading.Tasks.UniTask.NextFrame*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_NextFrame_Cysharp_Threading_Tasks_PlayerLoopTiming_" data-uid = "Cysharp.Threading.Tasks.UniTask.NextFrame(Cysharp.Threading.Tasks.PlayerLoopTiming)" > NextFrame(PlayerLoopTiming)< / h4 >
2021-03-02 14:17:34 +08:00
< div class = "markdown level1 summary" > < p > Similar as UniTask.Yield but guaranteed run on next frame.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask NextFrame(PlayerLoopTiming timing)< / code > < / pre >
2021-03-02 14:17:34 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > timing< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
2021-03-02 14:17:34 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_NextFrame_" data-uid = "Cysharp.Threading.Tasks.UniTask.NextFrame*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_NextFrame_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.NextFrame(Cysharp.Threading.Tasks.PlayerLoopTiming,System.Threading.CancellationToken,System.Boolean)" > NextFrame(PlayerLoopTiming, CancellationToken, Boolean)< / h4 >
2021-03-02 14:17:34 +08:00
< div class = "markdown level1 summary" > < p > Similar as UniTask.Yield but guaranteed run on next frame.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask NextFrame(PlayerLoopTiming timing, CancellationToken cancellationToken, bool cancelImmediately = false)< / code > < / pre >
2021-03-02 14:17:34 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > timing< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2021-03-02 14:17:34 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-06-08 00:47:36 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_NextFrame_" data-uid = "Cysharp.Threading.Tasks.UniTask.NextFrame*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_NextFrame_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.NextFrame(System.Threading.CancellationToken,System.Boolean)" > NextFrame(CancellationToken, Boolean)< / h4 >
2020-06-08 00:47:36 +08:00
< div class = "markdown level1 summary" > < p > Similar as UniTask.Yield but guaranteed run on next frame.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask NextFrame(CancellationToken cancellationToken, bool cancelImmediately = false)< / code > < / pre >
2020-06-08 00:47:36 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-06-08 00:47:36 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-06-08 00:47:36 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-05-13 10:07:22 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Preserve_" data-uid = "Cysharp.Threading.Tasks.UniTask.Preserve*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_Preserve" data-uid = "Cysharp.Threading.Tasks.UniTask.Preserve" > Preserve()< / h4 >
< div class = "markdown level1 summary" > < p > Memoizing inner IValueTaskSource. The result UniTask can await multiple.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2022-08-02 09:48:47 +08:00
< pre > < code class = "lang-csharp hljs" > public readonly UniTask Preserve()< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-06-03 09:29:36 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_ReturnToCurrentSynchronizationContext_" data-uid = "Cysharp.Threading.Tasks.UniTask.ReturnToCurrentSynchronizationContext*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_ReturnToCurrentSynchronizationContext_System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.ReturnToCurrentSynchronizationContext(System.Boolean,System.Threading.CancellationToken)" > ReturnToCurrentSynchronizationContext(Boolean, CancellationToken)< / h4 >
2020-06-03 09:29:36 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static ReturnToSynchronizationContext ReturnToCurrentSynchronizationContext(bool dontPostWhenSameContext = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-06-03 09:29:36 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > dontPostWhenSameContext< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-06-29 00:15:11 +08:00
< dd > < / dd >
2020-06-03 09:29:36 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.ReturnToSynchronizationContext.html" > ReturnToSynchronizationContext< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_ReturnToSynchronizationContext_" data-uid = "Cysharp.Threading.Tasks.UniTask.ReturnToSynchronizationContext*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_ReturnToSynchronizationContext_System_Threading_SynchronizationContext_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.ReturnToSynchronizationContext(System.Threading.SynchronizationContext,System.Threading.CancellationToken)" > ReturnToSynchronizationContext(SynchronizationContext, CancellationToken)< / h4 >
2020-06-03 09:29:36 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static ReturnToSynchronizationContext ReturnToSynchronizationContext(SynchronizationContext synchronizationContext, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-06-03 09:29:36 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > synchronizationContext< / code > < / span > < span class = "xref" > System.Threading.SynchronizationContext< / span > < / dt >
2020-06-03 09:29:36 +08:00
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-06-29 00:15:11 +08:00
< dd > < / dd >
2020-06-03 09:29:36 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.ReturnToSynchronizationContext.html" > ReturnToSynchronizationContext< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-05-13 10:07:22 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Run_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run(System.Action,System.Boolean,System.Threading.CancellationToken)" > Run(Action, Boolean, CancellationToken)< / h4 >
2022-03-03 06:33:45 +08:00
< div class = "markdown level1 summary" > < / div >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > [Obsolete(" UniTask.Run is similar as Task.Run, it uses ThreadPool. For equivalent behaviour, use UniTask.RunOnThreadPool instead. If you don't want to use ThreadPool, you can use UniTask.Void(async void) or UniTask.Create(async UniTask) too." )]
public static UniTask Run(Action action, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > action< / code > < / span > < span class = "xref" > System.Action< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-07-14 10:27:03 +08:00
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Run_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Object__System_Object_System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run(System.Action{System.Object},System.Object,System.Boolean,System.Threading.CancellationToken)" > Run(Action< Object> , Object, Boolean, CancellationToken)< / h4 >
2022-03-03 06:33:45 +08:00
< div class = "markdown level1 summary" > < / div >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > [Obsolete(" UniTask.Run is similar as Task.Run, it uses ThreadPool. For equivalent behaviour, use UniTask.RunOnThreadPool instead. If you don't want to use ThreadPool, you can use UniTask.Void(async void) or UniTask.Create(async UniTask) too." )]
public static UniTask Run(Action< object> action, object state, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > action< / code > < / span > < span class = "xref" > System.Action< / span > < < span class = "xref" > System.Object< / span > > < / dt >
2020-06-18 02:41:38 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > state< / code > < / span > < span class = "xref" > System.Object< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-07-14 10:27:03 +08:00
< dd > < / dd >
2020-06-18 02:41:38 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Run_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Run_System_Func_Cysharp_Threading_Tasks_UniTask__System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run(System.Func{Cysharp.Threading.Tasks.UniTask},System.Boolean,System.Threading.CancellationToken)" > Run(Func< UniTask> , Boolean, CancellationToken)< / h4 >
2022-03-03 06:33:45 +08:00
< div class = "markdown level1 summary" > < / div >
2020-06-18 02:41:38 +08:00
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > [Obsolete(" UniTask.Run is similar as Task.Run, it uses ThreadPool. For equivalent behaviour, use UniTask.RunOnThreadPool instead. If you don't want to use ThreadPool, you can use UniTask.Void(async void) or UniTask.Create(async UniTask) too." )]
public static UniTask Run(Func< UniTask> action, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-06-18 02:41:38 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > action< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > > < / dt >
2020-06-18 02:41:38 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-07-14 10:27:03 +08:00
< dd > < / dd >
2020-06-18 02:41:38 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Run_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Run_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask__System_Object_System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask},System.Object,System.Boolean,System.Threading.CancellationToken)" > Run(Func< Object, UniTask> , Object, Boolean, CancellationToken)< / h4 >
2022-03-03 06:33:45 +08:00
< div class = "markdown level1 summary" > < / div >
2020-06-18 02:41:38 +08:00
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > [Obsolete(" UniTask.Run is similar as Task.Run, it uses ThreadPool. For equivalent behaviour, use UniTask.RunOnThreadPool instead. If you don't want to use ThreadPool, you can use UniTask.Void(async void) or UniTask.Create(async UniTask) too." )]
public static UniTask Run(Func< object, UniTask> action, object state, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-06-18 02:41:38 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > action< / code > < / span > < span class = "xref" > System.Func< / span > < < span class = "xref" > System.Object< / span > , < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > state< / code > < / span > < span class = "xref" > System.Object< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-07-14 10:27:03 +08:00
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Run_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Run__1_System_Func___0__System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{``0},System.Boolean,System.Threading.CancellationToken)" > Run< T> (Func< T> , Boolean, CancellationToken)< / h4 >
2022-03-03 06:33:45 +08:00
< div class = "markdown level1 summary" > < / div >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > [Obsolete(" UniTask.Run is similar as Task.Run, it uses ThreadPool. For equivalent behaviour, use UniTask.RunOnThreadPool instead. If you don't want to use ThreadPool, you can use UniTask.Void(async void) or UniTask.Create(async UniTask) too." )]
public static UniTask< T> Run< T> (Func< T> func, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > func< / code > < / span > < span class = "xref" > System.Func< / span > < T> < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-07-14 10:27:03 +08:00
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Run_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}},System.Boolean,System.Threading.CancellationToken)" > Run< T> (Func< UniTask< T> > , Boolean, CancellationToken)< / h4 >
2022-03-03 06:33:45 +08:00
< div class = "markdown level1 summary" > < / div >
2020-06-18 02:41:38 +08:00
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > [Obsolete(" UniTask.Run is similar as Task.Run, it uses ThreadPool. For equivalent behaviour, use UniTask.RunOnThreadPool instead. If you don't want to use ThreadPool, you can use UniTask.Void(async void) or UniTask.Create(async UniTask) too." )]
public static UniTask< T> Run< T> (Func< UniTask< T> > func, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-06-18 02:41:38 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > func< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> > < / dt >
2020-06-18 02:41:38 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-07-14 10:27:03 +08:00
< dd > < / dd >
2020-06-18 02:41:38 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Run_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object___0__System_Object_System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,``0},System.Object,System.Boolean,System.Threading.CancellationToken)" > Run< T> (Func< Object, T> , Object, Boolean, CancellationToken)< / h4 >
2022-03-03 06:33:45 +08:00
< div class = "markdown level1 summary" > < / div >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > [Obsolete(" UniTask.Run is similar as Task.Run, it uses ThreadPool. For equivalent behaviour, use UniTask.RunOnThreadPool instead. If you don't want to use ThreadPool, you can use UniTask.Void(async void) or UniTask.Create(async UniTask) too." )]
public static UniTask< T> Run< T> (Func< object, T> func, object state, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > func< / code > < / span > < span class = "xref" > System.Func< / span > < < span class = "xref" > System.Object< / span > , T> < / dt >
2020-06-18 02:41:38 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > state< / code > < / span > < span class = "xref" > System.Object< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-07-14 10:27:03 +08:00
< dd > < / dd >
2020-06-18 02:41:38 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Run_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask___0___System_Object_System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask{``0}},System.Object,System.Boolean,System.Threading.CancellationToken)" > Run< T> (Func< Object, UniTask< T> > , Object, Boolean, CancellationToken)< / h4 >
2022-03-03 06:33:45 +08:00
< div class = "markdown level1 summary" > < / div >
2020-06-18 02:41:38 +08:00
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > [Obsolete(" UniTask.Run is similar as Task.Run, it uses ThreadPool. For equivalent behaviour, use UniTask.RunOnThreadPool instead. If you don't want to use ThreadPool, you can use UniTask.Void(async void) or UniTask.Create(async UniTask) too." )]
public static UniTask< T> Run< T> (Func< object, UniTask< T> > func, object state, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-09-07 16:57:49 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > func< / code > < / span > < span class = "xref" > System.Func< / span > < < span class = "xref" > System.Object< / span > , < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > state< / code > < / span > < span class = "xref" > System.Object< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_System_Action_System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Action,System.Boolean,System.Threading.CancellationToken)" > RunOnThreadPool(Action, Boolean, CancellationToken)< / h4 >
2020-09-07 16:57:49 +08:00
< div class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static async UniTask RunOnThreadPool(Action action, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-09-07 16:57:49 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > action< / code > < / span > < span class = "xref" > System.Action< / span > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_System_Action_System_Object__System_Object_System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Action{System.Object},System.Object,System.Boolean,System.Threading.CancellationToken)" > RunOnThreadPool(Action< Object> , Object, Boolean, CancellationToken)< / h4 >
2020-09-07 16:57:49 +08:00
< div class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static async UniTask RunOnThreadPool(Action< object> action, object state, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-09-07 16:57:49 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > action< / code > < / span > < span class = "xref" > System.Action< / span > < < span class = "xref" > System.Object< / span > > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > state< / code > < / span > < span class = "xref" > System.Object< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_System_Func_Cysharp_Threading_Tasks_UniTask__System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func{Cysharp.Threading.Tasks.UniTask},System.Boolean,System.Threading.CancellationToken)" > RunOnThreadPool(Func< UniTask> , Boolean, CancellationToken)< / h4 >
2020-09-07 16:57:49 +08:00
< div class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static async UniTask RunOnThreadPool(Func< UniTask> action, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-09-07 16:57:49 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > action< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask__System_Object_System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask},System.Object,System.Boolean,System.Threading.CancellationToken)" > RunOnThreadPool(Func< Object, UniTask> , Object, Boolean, CancellationToken)< / h4 >
2020-09-07 16:57:49 +08:00
< div class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static async UniTask RunOnThreadPool(Func< object, UniTask> action, object state, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-09-07 16:57:49 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > action< / code > < / span > < span class = "xref" > System.Func< / span > < < span class = "xref" > System.Object< / span > , < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > state< / code > < / span > < span class = "xref" > System.Object< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool__1_System_Func___0__System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool``1(System.Func{``0},System.Boolean,System.Threading.CancellationToken)" > RunOnThreadPool< T> (Func< T> , Boolean, CancellationToken)< / h4 >
2020-09-07 16:57:49 +08:00
< div class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static async UniTask< T> RunOnThreadPool< T> (Func< T> func, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-09-07 16:57:49 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > func< / code > < / span > < span class = "xref" > System.Func< / span > < T> < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}},System.Boolean,System.Threading.CancellationToken)" > RunOnThreadPool< T> (Func< UniTask< T> > , Boolean, CancellationToken)< / h4 >
2020-09-07 16:57:49 +08:00
< div class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static async UniTask< T> RunOnThreadPool< T> (Func< UniTask< T> > func, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-09-07 16:57:49 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > func< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool__1_System_Func_System_Object___0__System_Object_System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool``1(System.Func{System.Object,``0},System.Object,System.Boolean,System.Threading.CancellationToken)" > RunOnThreadPool< T> (Func< Object, T> , Object, Boolean, CancellationToken)< / h4 >
2020-09-07 16:57:49 +08:00
< div class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static async UniTask< T> RunOnThreadPool< T> (Func< object, T> func, object state, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-09-07 16:57:49 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > func< / code > < / span > < span class = "xref" > System.Func< / span > < < span class = "xref" > System.Object< / span > , T> < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > state< / code > < / span > < span class = "xref" > System.Object< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-09-07 16:57:49 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_RunOnThreadPool__1_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask___0___System_Object_System_Boolean_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.RunOnThreadPool``1(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask{``0}},System.Object,System.Boolean,System.Threading.CancellationToken)" > RunOnThreadPool< T> (Func< Object, UniTask< T> > , Object, Boolean, CancellationToken)< / h4 >
2020-09-07 16:57:49 +08:00
< div class = "markdown level1 summary" > < p > Run action on the threadPool and return to main thread if configureAwait = true.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static async UniTask< T> RunOnThreadPool< T> (Func< object, UniTask< T> > func, object state, bool configureAwait = true, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-06-18 02:41:38 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > func< / code > < / span > < span class = "xref" > System.Func< / span > < < span class = "xref" > System.Object< / span > , < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > state< / code > < / span > < span class = "xref" > System.Object< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > configureAwait< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-07-14 10:27:03 +08:00
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_SuppressCancellationThrow_" data-uid = "Cysharp.Threading.Tasks.UniTask.SuppressCancellationThrow*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_SuppressCancellationThrow" data-uid = "Cysharp.Threading.Tasks.UniTask.SuppressCancellationThrow" > SuppressCancellationThrow()< / h4 >
< div class = "markdown level1 summary" > < p > returns (bool IsCanceled) instead of throws OperationCanceledException.< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2022-08-02 09:48:47 +08:00
< pre > < code class = "lang-csharp hljs" > public readonly UniTask< bool> SuppressCancellationThrow()< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.Boolean< / span > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_SwitchToSynchronizationContext_" data-uid = "Cysharp.Threading.Tasks.UniTask.SwitchToSynchronizationContext*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_SwitchToSynchronizationContext_System_Threading_SynchronizationContext_System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.SwitchToSynchronizationContext(System.Threading.SynchronizationContext,System.Threading.CancellationToken)" > SwitchToSynchronizationContext(SynchronizationContext, CancellationToken)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static SwitchToSynchronizationContextAwaitable SwitchToSynchronizationContext(SynchronizationContext synchronizationContext, CancellationToken cancellationToken = default(CancellationToken))< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > synchronizationContext< / code > < / span > < span class = "xref" > System.Threading.SynchronizationContext< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-06-29 00:15:11 +08:00
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.SwitchToSynchronizationContextAwaitable.html" > SwitchToSynchronizationContextAwaitable< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_SwitchToTaskPool_" data-uid = "Cysharp.Threading.Tasks.UniTask.SwitchToTaskPool*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_SwitchToTaskPool" data-uid = "Cysharp.Threading.Tasks.UniTask.SwitchToTaskPool" > SwitchToTaskPool()< / h4 >
2020-06-03 09:29:36 +08:00
< div class = "markdown level1 summary" > < p > Note: use SwitchToThreadPool is recommended.< / p >
< / div >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static SwitchToTaskPoolAwaitable SwitchToTaskPool()< / code > < / pre >
< / div >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.SwitchToTaskPoolAwaitable.html" > SwitchToTaskPoolAwaitable< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_SwitchToThreadPool_" data-uid = "Cysharp.Threading.Tasks.UniTask.SwitchToThreadPool*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_SwitchToThreadPool" data-uid = "Cysharp.Threading.Tasks.UniTask.SwitchToThreadPool" > SwitchToThreadPool()< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static SwitchToThreadPoolAwaitable SwitchToThreadPool()< / code > < / pre >
< / div >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.SwitchToThreadPoolAwaitable.html" > SwitchToThreadPoolAwaitable< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_ToCoroutine_" data-uid = "Cysharp.Threading.Tasks.UniTask.ToCoroutine*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_ToCoroutine_System_Func_Cysharp_Threading_Tasks_UniTask__" data-uid = "Cysharp.Threading.Tasks.UniTask.ToCoroutine(System.Func{Cysharp.Threading.Tasks.UniTask})" > ToCoroutine(Func< UniTask> )< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static IEnumerator ToCoroutine(Func< UniTask> taskFactory)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > taskFactory< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-11-02 12:54:10 +08:00
< dt > < span class = "xref" > IEnumerator< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_ToString_" data-uid = "Cysharp.Threading.Tasks.UniTask.ToString*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_ToString" data-uid = "Cysharp.Threading.Tasks.UniTask.ToString" > ToString()< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2022-08-02 09:48:47 +08:00
< pre > < code class = "lang-csharp hljs" > public override readonly string ToString()< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "xref" > System.String< / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< h5 class = "overrides" > Overrides< / h5 >
< div > < span class = "xref" > System.ValueType.ToString()< / span > < / div >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Void_" data-uid = "Cysharp.Threading.Tasks.UniTask.Void*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Void_System_Func_Cysharp_Threading_Tasks_UniTaskVoid__" data-uid = "Cysharp.Threading.Tasks.UniTask.Void(System.Func{Cysharp.Threading.Tasks.UniTaskVoid})" > Void(Func< UniTaskVoid> )< / h4 >
2020-06-04 14:48:57 +08:00
< div class = "markdown level1 summary" > < p > helper of fire and forget void action.< / p >
2020-06-03 09:29:36 +08:00
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static void Void(Func< UniTaskVoid> asyncAction)< / code > < / pre >
2020-06-03 09:29:36 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > asyncAction< / code > < / span > < span class = "xref" > System.Func< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTaskVoid.html" > UniTaskVoid< / a > > < / dt >
2020-06-03 09:29:36 +08:00
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Void_" data-uid = "Cysharp.Threading.Tasks.UniTask.Void*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Void_System_Func_System_Threading_CancellationToken_Cysharp_Threading_Tasks_UniTaskVoid__System_Threading_CancellationToken_" data-uid = "Cysharp.Threading.Tasks.UniTask.Void(System.Func{System.Threading.CancellationToken,Cysharp.Threading.Tasks.UniTaskVoid},System.Threading.CancellationToken)" > Void(Func< CancellationToken, UniTaskVoid> , CancellationToken)< / h4 >
2020-06-04 14:48:57 +08:00
< div class = "markdown level1 summary" > < p > helper of fire and forget void action.< / p >
2020-05-13 10:07:22 +08:00
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static void Void(Func< CancellationToken, UniTaskVoid> asyncAction, CancellationToken cancellationToken)< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > asyncAction< / code > < / span > < span class = "xref" > System.Func< / span > < < span class = "xref" > System.Threading.CancellationToken< / span > , < a class = "xref" href = "Cysharp.Threading.Tasks.UniTaskVoid.html" > UniTaskVoid< / a > > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Void_" data-uid = "Cysharp.Threading.Tasks.UniTask.Void*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Void__1_System_Func___0_Cysharp_Threading_Tasks_UniTaskVoid____0_" data-uid = "Cysharp.Threading.Tasks.UniTask.Void``1(System.Func{``0,Cysharp.Threading.Tasks.UniTaskVoid},``0)" > Void< T> (Func< T, UniTaskVoid> , T)< / h4 >
2020-06-04 14:48:57 +08:00
< div class = "markdown level1 summary" > < p > helper of fire and forget void action.< / p >
2020-05-13 10:07:22 +08:00
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2020-06-03 09:29:36 +08:00
< pre > < code class = "lang-csharp hljs" > public static void Void< T> (Func< T, UniTaskVoid> asyncAction, T state)< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > asyncAction< / code > < / span > < span class = "xref" > System.Func< / span > < T, < a class = "xref" href = "Cysharp.Threading.Tasks.UniTaskVoid.html" > UniTaskVoid< / a > > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > state< / code > < / span > < span class = "xref" > T< / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-06-08 00:47:36 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame" > WaitForEndOfFrame()< / h4 >
2022-03-03 06:24:35 +08:00
< div class = "markdown level1 summary" > < / div >
2020-06-08 00:47:36 +08:00
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > [Obsolete(" Use WaitForEndOfFrame(MonoBehaviour) instead or UniTask.Yield(PlayerLoopTiming.LastPostLateUpdate). Equivalent for coroutine's WaitForEndOfFrame requires MonoBehaviour(runner of Coroutine)." )]
public static YieldAwaitable WaitForEndOfFrame()< / code > < / pre >
2020-06-08 00:47:36 +08:00
< / div >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.YieldAwaitable.html" > YieldAwaitable< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
2022-03-03 06:24:35 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame_MonoBehaviour_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame(MonoBehaviour)" > WaitForEndOfFrame(MonoBehaviour)< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask WaitForEndOfFrame(MonoBehaviour coroutineRunner)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > coroutineRunner< / code > < / span > < span class = "xref" > MonoBehaviour< / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame_MonoBehaviour_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame(MonoBehaviour,System.Threading.CancellationToken,System.Boolean)" > WaitForEndOfFrame(MonoBehaviour, CancellationToken, Boolean)< / h4 >
2022-03-03 06:24:35 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask WaitForEndOfFrame(MonoBehaviour coroutineRunner, CancellationToken cancellationToken, bool cancelImmediately = false)< / code > < / pre >
2022-03-03 06:24:35 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > coroutineRunner< / code > < / span > < span class = "xref" > MonoBehaviour< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2022-03-03 06:24:35 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2022-03-03 06:24:35 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-06-08 00:47:36 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame(System.Threading.CancellationToken,System.Boolean)" > WaitForEndOfFrame(CancellationToken, Boolean)< / h4 >
2022-03-03 06:24:35 +08:00
< div class = "markdown level1 summary" > < / div >
2020-06-08 00:47:36 +08:00
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > [Obsolete(" Use WaitForEndOfFrame(MonoBehaviour) instead or UniTask.Yield(PlayerLoopTiming.LastPostLateUpdate). Equivalent for coroutine's WaitForEndOfFrame requires MonoBehaviour(runner of Coroutine)." )]
2023-11-02 12:54:10 +08:00
public static UniTask WaitForEndOfFrame(CancellationToken cancellationToken, bool cancelImmediately = false)< / code > < / pre >
2020-06-08 00:47:36 +08:00
< / div >
< section >
2020-06-08 01:24:11 +08:00
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-06-08 01:24:11 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-06-08 01:24:11 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WaitForFixedUpdate_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForFixedUpdate*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WaitForFixedUpdate" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForFixedUpdate" > WaitForFixedUpdate()< / h4 >
2022-10-24 20:58:10 +08:00
< div class = "markdown level1 summary" > < p > Same as UniTask.Yield(PlayerLoopTiming.LastFixedUpdate).< / p >
2020-06-08 01:24:11 +08:00
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static YieldAwaitable WaitForFixedUpdate()< / code > < / pre >
< / div >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.YieldAwaitable.html" > YieldAwaitable< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WaitForFixedUpdate_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForFixedUpdate*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WaitForFixedUpdate_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForFixedUpdate(System.Threading.CancellationToken,System.Boolean)" > WaitForFixedUpdate(CancellationToken, Boolean)< / h4 >
2022-10-24 20:58:10 +08:00
< div class = "markdown level1 summary" > < p > Same as UniTask.Yield(PlayerLoopTiming.LastFixedUpdate, cancellationToken).< / p >
2020-06-08 01:24:11 +08:00
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask WaitForFixedUpdate(CancellationToken cancellationToken, bool cancelImmediately = false)< / code > < / pre >
2020-06-08 01:24:11 +08:00
< / div >
< section >
2020-06-08 00:47:36 +08:00
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2023-06-23 18:07:17 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-06-23 18:07:17 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WaitForSeconds_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForSeconds*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WaitForSeconds_System_Int32_System_Boolean_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForSeconds(System.Int32,System.Boolean,Cysharp.Threading.Tasks.PlayerLoopTiming,System.Threading.CancellationToken,System.Boolean)" > WaitForSeconds(Int32, Boolean, PlayerLoopTiming, CancellationToken, Boolean)< / h4 >
2023-06-23 18:07:17 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask WaitForSeconds(int duration, bool ignoreTimeScale = false, PlayerLoopTiming delayTiming = PlayerLoopTiming.Update, CancellationToken cancellationToken = default(CancellationToken), bool cancelImmediately = false)< / code > < / pre >
2023-06-23 18:07:17 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > duration< / code > < / span > < span class = "xref" > System.Int32< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > ignoreTimeScale< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > delayTiming< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2023-06-23 18:07:17 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2023-06-23 18:07:17 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WaitForSeconds_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForSeconds*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WaitForSeconds_System_Single_System_Boolean_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitForSeconds(System.Single,System.Boolean,Cysharp.Threading.Tasks.PlayerLoopTiming,System.Threading.CancellationToken,System.Boolean)" > WaitForSeconds(Single, Boolean, PlayerLoopTiming, CancellationToken, Boolean)< / h4 >
2023-06-23 18:07:17 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask WaitForSeconds(float duration, bool ignoreTimeScale = false, PlayerLoopTiming delayTiming = PlayerLoopTiming.Update, CancellationToken cancellationToken = default(CancellationToken), bool cancelImmediately = false)< / code > < / pre >
2023-06-23 18:07:17 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > duration< / code > < / span > < span class = "xref" > System.Single< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > ignoreTimeScale< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > delayTiming< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-06-08 00:47:36 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-06-08 00:47:36 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-05-13 10:07:22 +08:00
< / section >
< section >
2020-06-03 09:29:36 +08:00
< a id = "Cysharp_Threading_Tasks_UniTask_WaitUntil_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitUntil*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WaitUntil_System_Func_System_Boolean__Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitUntil(System.Func{System.Boolean},Cysharp.Threading.Tasks.PlayerLoopTiming,System.Threading.CancellationToken,System.Boolean)" > WaitUntil(Func< Boolean> , PlayerLoopTiming, CancellationToken, Boolean)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask WaitUntil(Func< bool> predicate, PlayerLoopTiming timing = PlayerLoopTiming.Update, CancellationToken cancellationToken = default(CancellationToken), bool cancelImmediately = false)< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > predicate< / code > < / span > < span class = "xref" > System.Func< / span > < < span class = "xref" > System.Boolean< / span > > < / dt >
2020-06-03 09:29:36 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > timing< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2020-06-03 09:29:36 +08:00
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
2020-06-03 09:29:36 +08:00
< a id = "Cysharp_Threading_Tasks_UniTask_WaitUntilCanceled_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitUntilCanceled*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WaitUntilCanceled_System_Threading_CancellationToken_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitUntilCanceled(System.Threading.CancellationToken,Cysharp.Threading.Tasks.PlayerLoopTiming,System.Boolean)" > WaitUntilCanceled(CancellationToken, PlayerLoopTiming, Boolean)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask WaitUntilCanceled(CancellationToken cancellationToken, PlayerLoopTiming timing = PlayerLoopTiming.Update, bool completeImmediately = false)< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > timing< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > completeImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WaitUntilValueChanged_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitUntilValueChanged*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WaitUntilValueChanged__2___0_System_Func___0___1__Cysharp_Threading_Tasks_PlayerLoopTiming_IEqualityComparer___1__System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitUntilValueChanged``2(``0,System.Func{``0,``1},Cysharp.Threading.Tasks.PlayerLoopTiming,IEqualityComparer{``1},System.Threading.CancellationToken,System.Boolean)" > WaitUntilValueChanged< T, U> (T, Func< T, U> , PlayerLoopTiming, IEqualityComparer< U> , CancellationToken, Boolean)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask< U> WaitUntilValueChanged< T, U> (T target, Func< T, U> monitorFunction, PlayerLoopTiming monitorTiming = PlayerLoopTiming.Update, IEqualityComparer< U> equalityComparer = null, CancellationToken cancellationToken = default(CancellationToken), bool cancelImmediately = false)
2020-05-13 10:07:22 +08:00
where T : class< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > target< / code > < / span > < span class = "xref" > T< / span > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > monitorFunction< / code > < / span > < span class = "xref" > System.Func< / span > < T, U> < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > monitorTiming< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > equalityComparer< / code > < / span > < span class = "xref" > IEqualityComparer< / span > < U> < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < U> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > U< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WaitWhile_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitWhile*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WaitWhile_System_Func_System_Boolean__Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.WaitWhile(System.Func{System.Boolean},Cysharp.Threading.Tasks.PlayerLoopTiming,System.Threading.CancellationToken,System.Boolean)" > WaitWhile(Func< Boolean> , PlayerLoopTiming, CancellationToken, Boolean)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask WaitWhile(Func< bool> predicate, PlayerLoopTiming timing = PlayerLoopTiming.Update, CancellationToken cancellationToken = default(CancellationToken), bool cancelImmediately = false)< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > predicate< / code > < / span > < span class = "xref" > System.Func< / span > < < span class = "xref" > System.Boolean< / span > > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< dt > < span class = "parametername" > < code > timing< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll_Cysharp_Threading_Tasks_UniTask___" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll(Cysharp.Threading.Tasks.UniTask[])" > WhenAll(UniTask[])< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask WhenAll(params UniTask[] tasks)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > tasks< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > []< / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll_IEnumerable_Cysharp_Threading_Tasks_UniTask__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll(IEnumerable{Cysharp.Threading.Tasks.UniTask})" > WhenAll(IEnumerable< UniTask> )< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask WhenAll(IEnumerable< UniTask> tasks)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > tasks< / code > < / span > < span class = "xref" > IEnumerable< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__1_Cysharp_Threading_Tasks_UniTask___0____" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``1(Cysharp.Threading.Tasks.UniTask{``0}[])" > WhenAll< T> (UniTask< T> [])< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< T[]> WhenAll< T> (params UniTask< T> [] tasks)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > tasks< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> []< / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T[]> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__1_IEnumerable_Cysharp_Threading_Tasks_UniTask___0___" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``1(IEnumerable{Cysharp.Threading.Tasks.UniTask{``0}})" > WhenAll< T> (IEnumerable< UniTask< T> > )< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< T[]> WhenAll< T> (IEnumerable< UniTask< T> > tasks)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > tasks< / code > < / span > < span class = "xref" > IEnumerable< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T[]> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__10_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``10(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8},Cysharp.Threading.Tasks.UniTask{``9})" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9, UniTask< T10> task10)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task10< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T10> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3, T4, T5, T6, T7, < span class = "xref" > System.ValueTuple< / span > < T8, T9, T10> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T10< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__11_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``11(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8},Cysharp.Threading.Tasks.UniTask{``9},Cysharp.Threading.Tasks.UniTask{``10})" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9, UniTask< T10> task10, UniTask< T11> task11)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task10< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T10> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task11< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T11> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3, T4, T5, T6, T7, < span class = "xref" > System.ValueTuple< / span > < T8, T9, T10, T11> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T10< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T11< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__12_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``12(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8},Cysharp.Threading.Tasks.UniTask{``9},Cysharp.Threading.Tasks.UniTask{``10},Cysharp.Threading.Tasks.UniTask{``11})" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9, UniTask< T10> task10, UniTask< T11> task11, UniTask< T12> task12)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task10< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T10> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task11< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T11> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task12< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T12> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3, T4, T5, T6, T7, < span class = "xref" > System.ValueTuple< / span > < T8, T9, T10, T11, T12> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T10< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T11< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T12< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__13_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__Cysharp_Threading_Tasks_UniTask___12__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``13(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8},Cysharp.Threading.Tasks.UniTask{``9},Cysharp.Threading.Tasks.UniTask{``10},Cysharp.Threading.Tasks.UniTask{``11},Cysharp.Threading.Tasks.UniTask{``12})" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> , UniTask< T13> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)> WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9, UniTask< T10> task10, UniTask< T11> task11, UniTask< T12> task12, UniTask< T13> task13)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task10< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T10> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task11< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T11> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task12< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T12> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task13< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T13> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3, T4, T5, T6, T7, < span class = "xref" > System.ValueTuple< / span > < T8, T9, T10, T11, T12, T13> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T10< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T11< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T12< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T13< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__14_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__Cysharp_Threading_Tasks_UniTask___12__Cysharp_Threading_Tasks_UniTask___13__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``14(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8},Cysharp.Threading.Tasks.UniTask{``9},Cysharp.Threading.Tasks.UniTask{``10},Cysharp.Threading.Tasks.UniTask{``11},Cysharp.Threading.Tasks.UniTask{``12},Cysharp.Threading.Tasks.UniTask{``13})" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> , UniTask< T13> , UniTask< T14> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)> WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9, UniTask< T10> task10, UniTask< T11> task11, UniTask< T12> task12, UniTask< T13> task13, UniTask< T14> task14)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task10< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T10> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task11< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T11> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task12< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T12> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task13< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T13> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task14< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T14> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3, T4, T5, T6, T7, < span class = "xref" > System.ValueTuple< / span > < T8, T9, T10, T11, T12, T13, T14> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T10< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T11< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T12< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T13< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T14< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__15_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__Cysharp_Threading_Tasks_UniTask___12__Cysharp_Threading_Tasks_UniTask___13__Cysharp_Threading_Tasks_UniTask___14__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``15(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8},Cysharp.Threading.Tasks.UniTask{``9},Cysharp.Threading.Tasks.UniTask{``10},Cysharp.Threading.Tasks.UniTask{``11},Cysharp.Threading.Tasks.UniTask{``12},Cysharp.Threading.Tasks.UniTask{``13},Cysharp.Threading.Tasks.UniTask{``14})" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> , UniTask< T13> , UniTask< T14> , UniTask< T15> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)> WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9, UniTask< T10> task10, UniTask< T11> task11, UniTask< T12> task12, UniTask< T13> task13, UniTask< T14> task14, UniTask< T15> task15)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task10< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T10> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task11< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T11> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task12< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T12> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task13< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T13> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task14< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T14> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task15< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T15> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3, T4, T5, T6, T7, < span class = "xref" > System.ValueTuple< / span > < T8, T9, T10, T11, T12, T13, T14, < span class = "xref" > System.ValueTuple< / span > < T15> > > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T10< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T11< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T12< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T13< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T14< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T15< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__2_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``2(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1})" > WhenAll< T1, T2> (UniTask< T1> , UniTask< T2> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2)> WhenAll< T1, T2> (UniTask< T1> task1, UniTask< T2> task2)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__3_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``3(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2})" > WhenAll< T1, T2, T3> (UniTask< T1> , UniTask< T2> , UniTask< T3> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3)> WhenAll< T1, T2, T3> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__4_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``4(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3})" > WhenAll< T1, T2, T3, T4> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3, T4)> WhenAll< T1, T2, T3, T4> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3, T4> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__5_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``5(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4})" > WhenAll< T1, T2, T3, T4, T5> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3, T4, T5)> WhenAll< T1, T2, T3, T4, T5> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3, T4, T5> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__6_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``6(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5})" > WhenAll< T1, T2, T3, T4, T5, T6> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3, T4, T5, T6)> WhenAll< T1, T2, T3, T4, T5, T6> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3, T4, T5, T6> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__7_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``7(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6})" > WhenAll< T1, T2, T3, T4, T5, T6, T7> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3, T4, T5, T6, T7)> WhenAll< T1, T2, T3, T4, T5, T6, T7> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3, T4, T5, T6, T7> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__8_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``8(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7})" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3, T4, T5, T6, T7, T8)> WhenAll< T1, T2, T3, T4, T5, T6, T7, T8> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3, T4, T5, T6, T7, < span class = "xref" > System.ValueTuple< / span > < T8> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAll_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAll__9_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAll``9(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8})" > WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (T1, T2, T3, T4, T5, T6, T7, T8, T9)> WhenAll< T1, T2, T3, T4, T5, T6, T7, T8, T9> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < T1, T2, T3, T4, T5, T6, T7, < span class = "xref" > System.ValueTuple< / span > < T8, T9> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny_Cysharp_Threading_Tasks_UniTask___" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny(Cysharp.Threading.Tasks.UniTask[])" > WhenAny(UniTask[])< / h4 >
< div class = "markdown level1 summary" > < p > Return value is winArgumentIndex< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< int> WhenAny(params UniTask[] tasks)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > tasks< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > []< / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.Int32< / span > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny_IEnumerable_Cysharp_Threading_Tasks_UniTask__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny(IEnumerable{Cysharp.Threading.Tasks.UniTask})" > WhenAny(IEnumerable< UniTask> )< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < p > Return value is winArgumentIndex< / p >
< / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< int> WhenAny(IEnumerable< UniTask> tasks)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > tasks< / code > < / span > < span class = "xref" > IEnumerable< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.Int32< / span > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__1_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``1(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask)" > WhenAny< T> (UniTask< T> , UniTask)< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (bool hasResultLeft, T result)> WhenAny< T> (UniTask< T> leftTask, UniTask rightTask)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > leftTask< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > rightTask< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Boolean< / span > , T> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__1_Cysharp_Threading_Tasks_UniTask___0____" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``1(Cysharp.Threading.Tasks.UniTask{``0}[])" > WhenAny< T> (UniTask< T> [])< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T result)> WhenAny< T> (params UniTask< T> [] tasks)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > tasks< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> []< / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__1_IEnumerable_Cysharp_Threading_Tasks_UniTask___0___" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``1(IEnumerable{Cysharp.Threading.Tasks.UniTask{``0}})" > WhenAny< T> (IEnumerable< UniTask< T> > )< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T result)> WhenAny< T> (IEnumerable< UniTask< T> > tasks)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > tasks< / code > < / span > < span class = "xref" > IEnumerable< / span > < < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T> > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__10_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``10(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8},Cysharp.Threading.Tasks.UniTask{``9})" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3, T4 result4, T5 result5, T6 result6, T7 result7, T8 result8, T9 result9, T10 result10)> WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9, UniTask< T10> task10)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task10< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T10> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3, T4, T5, T6, < span class = "xref" > System.ValueTuple< / span > < T7, T8, T9, T10> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T10< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__11_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``11(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8},Cysharp.Threading.Tasks.UniTask{``9},Cysharp.Threading.Tasks.UniTask{``10})" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3, T4 result4, T5 result5, T6 result6, T7 result7, T8 result8, T9 result9, T10 result10, T11 result11)> WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9, UniTask< T10> task10, UniTask< T11> task11)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task10< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T10> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task11< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T11> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3, T4, T5, T6, < span class = "xref" > System.ValueTuple< / span > < T7, T8, T9, T10, T11> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T10< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T11< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__12_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``12(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8},Cysharp.Threading.Tasks.UniTask{``9},Cysharp.Threading.Tasks.UniTask{``10},Cysharp.Threading.Tasks.UniTask{``11})" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3, T4 result4, T5 result5, T6 result6, T7 result7, T8 result8, T9 result9, T10 result10, T11 result11, T12 result12)> WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9, UniTask< T10> task10, UniTask< T11> task11, UniTask< T12> task12)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task10< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T10> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task11< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T11> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task12< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T12> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3, T4, T5, T6, < span class = "xref" > System.ValueTuple< / span > < T7, T8, T9, T10, T11, T12> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T10< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T11< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T12< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__13_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__Cysharp_Threading_Tasks_UniTask___12__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``13(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8},Cysharp.Threading.Tasks.UniTask{``9},Cysharp.Threading.Tasks.UniTask{``10},Cysharp.Threading.Tasks.UniTask{``11},Cysharp.Threading.Tasks.UniTask{``12})" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> , UniTask< T13> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3, T4 result4, T5 result5, T6 result6, T7 result7, T8 result8, T9 result9, T10 result10, T11 result11, T12 result12, T13 result13)> WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9, UniTask< T10> task10, UniTask< T11> task11, UniTask< T12> task12, UniTask< T13> task13)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task10< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T10> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task11< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T11> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task12< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T12> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task13< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T13> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3, T4, T5, T6, < span class = "xref" > System.ValueTuple< / span > < T7, T8, T9, T10, T11, T12, T13> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T10< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T11< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T12< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T13< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__14_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__Cysharp_Threading_Tasks_UniTask___12__Cysharp_Threading_Tasks_UniTask___13__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``14(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8},Cysharp.Threading.Tasks.UniTask{``9},Cysharp.Threading.Tasks.UniTask{``10},Cysharp.Threading.Tasks.UniTask{``11},Cysharp.Threading.Tasks.UniTask{``12},Cysharp.Threading.Tasks.UniTask{``13})" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> , UniTask< T13> , UniTask< T14> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3, T4 result4, T5 result5, T6 result6, T7 result7, T8 result8, T9 result9, T10 result10, T11 result11, T12 result12, T13 result13, T14 result14)> WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9, UniTask< T10> task10, UniTask< T11> task11, UniTask< T12> task12, UniTask< T13> task13, UniTask< T14> task14)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task10< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T10> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task11< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T11> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task12< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T12> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task13< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T13> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task14< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T14> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3, T4, T5, T6, < span class = "xref" > System.ValueTuple< / span > < T7, T8, T9, T10, T11, T12, T13, < span class = "xref" > System.ValueTuple< / span > < T14> > > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T10< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T11< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T12< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T13< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T14< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__15_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__Cysharp_Threading_Tasks_UniTask___9__Cysharp_Threading_Tasks_UniTask___10__Cysharp_Threading_Tasks_UniTask___11__Cysharp_Threading_Tasks_UniTask___12__Cysharp_Threading_Tasks_UniTask___13__Cysharp_Threading_Tasks_UniTask___14__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``15(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8},Cysharp.Threading.Tasks.UniTask{``9},Cysharp.Threading.Tasks.UniTask{``10},Cysharp.Threading.Tasks.UniTask{``11},Cysharp.Threading.Tasks.UniTask{``12},Cysharp.Threading.Tasks.UniTask{``13},Cysharp.Threading.Tasks.UniTask{``14})" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> , UniTask< T10> , UniTask< T11> , UniTask< T12> , UniTask< T13> , UniTask< T14> , UniTask< T15> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3, T4 result4, T5 result5, T6 result6, T7 result7, T8 result8, T9 result9, T10 result10, T11 result11, T12 result12, T13 result13, T14 result14, T15 result15)> WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9, UniTask< T10> task10, UniTask< T11> task11, UniTask< T12> task12, UniTask< T13> task13, UniTask< T14> task14, UniTask< T15> task15)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task10< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T10> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task11< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T11> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task12< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T12> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task13< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T13> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task14< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T14> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task15< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T15> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3, T4, T5, T6, < span class = "xref" > System.ValueTuple< / span > < T7, T8, T9, T10, T11, T12, T13, < span class = "xref" > System.ValueTuple< / span > < T14, T15> > > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T10< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T11< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T12< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T13< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T14< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T15< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__2_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``2(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1})" > WhenAny< T1, T2> (UniTask< T1> , UniTask< T2> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2)> WhenAny< T1, T2> (UniTask< T1> task1, UniTask< T2> task2)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__3_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``3(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2})" > WhenAny< T1, T2, T3> (UniTask< T1> , UniTask< T2> , UniTask< T3> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3)> WhenAny< T1, T2, T3> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__4_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``4(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3})" > WhenAny< T1, T2, T3, T4> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3, T4 result4)> WhenAny< T1, T2, T3, T4> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3, T4> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__5_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``5(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4})" > WhenAny< T1, T2, T3, T4, T5> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3, T4 result4, T5 result5)> WhenAny< T1, T2, T3, T4, T5> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3, T4, T5> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__6_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``6(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5})" > WhenAny< T1, T2, T3, T4, T5, T6> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3, T4 result4, T5 result5, T6 result6)> WhenAny< T1, T2, T3, T4, T5, T6> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3, T4, T5, T6> > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__7_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``7(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6})" > WhenAny< T1, T2, T3, T4, T5, T6, T7> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3, T4 result4, T5 result5, T6 result6, T7 result7)> WhenAny< T1, T2, T3, T4, T5, T6, T7> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3, T4, T5, T6, < span class = "xref" > System.ValueTuple< / span > < T7> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__8_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``8(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7})" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3, T4 result4, T5 result5, T6 result6, T7 result7, T8 result8)> WhenAny< T1, T2, T3, T4, T5, T6, T7, T8> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3, T4, T5, T6, < span class = "xref" > System.ValueTuple< / span > < T7, T8> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_WhenAny_" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_WhenAny__9_Cysharp_Threading_Tasks_UniTask___0__Cysharp_Threading_Tasks_UniTask___1__Cysharp_Threading_Tasks_UniTask___2__Cysharp_Threading_Tasks_UniTask___3__Cysharp_Threading_Tasks_UniTask___4__Cysharp_Threading_Tasks_UniTask___5__Cysharp_Threading_Tasks_UniTask___6__Cysharp_Threading_Tasks_UniTask___7__Cysharp_Threading_Tasks_UniTask___8__" data-uid = "Cysharp.Threading.Tasks.UniTask.WhenAny``9(Cysharp.Threading.Tasks.UniTask{``0},Cysharp.Threading.Tasks.UniTask{``1},Cysharp.Threading.Tasks.UniTask{``2},Cysharp.Threading.Tasks.UniTask{``3},Cysharp.Threading.Tasks.UniTask{``4},Cysharp.Threading.Tasks.UniTask{``5},Cysharp.Threading.Tasks.UniTask{``6},Cysharp.Threading.Tasks.UniTask{``7},Cysharp.Threading.Tasks.UniTask{``8})" > WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9> (UniTask< T1> , UniTask< T2> , UniTask< T3> , UniTask< T4> , UniTask< T5> , UniTask< T6> , UniTask< T7> , UniTask< T8> , UniTask< T9> )< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static UniTask< (int winArgumentIndex, T1 result1, T2 result2, T3 result3, T4 result4, T5 result5, T6 result6, T7 result7, T8 result8, T9 result9)> WhenAny< T1, T2, T3, T4, T5, T6, T7, T8, T9> (UniTask< T1> task1, UniTask< T2> task2, UniTask< T3> task3, UniTask< T4> task4, UniTask< T5> task5, UniTask< T6> task6, UniTask< T7> task7, UniTask< T8> task8, UniTask< T9> task9)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > task1< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T1> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task2< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T2> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task3< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T3> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task4< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T4> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task5< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T5> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task6< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T6> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task7< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T7> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task8< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T8> < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > task9< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < T9> < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask-1.html" > UniTask< / a > < < span class = "xref" > System.ValueTuple< / span > < < span class = "xref" > System.Int32< / span > , T1, T2, T3, T4, T5, T6, < span class = "xref" > System.ValueTuple< / span > < T7, T8, T9> > > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "typeParameters" > Type Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > T1< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T2< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T3< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T4< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T5< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T6< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T7< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T8< / code > < / span > < / dt >
< dd > < / dd >
< dt > < span class = "parametername" > < code > T9< / code > < / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
2021-03-02 14:17:34 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Yield_" data-uid = "Cysharp.Threading.Tasks.UniTask.Yield*" > < / a >
< h4 id = "Cysharp_Threading_Tasks_UniTask_Yield" data-uid = "Cysharp.Threading.Tasks.UniTask.Yield" > Yield()< / h4 >
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static YieldAwaitable Yield()< / code > < / pre >
< / div >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.YieldAwaitable.html" > YieldAwaitable< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Yield_" data-uid = "Cysharp.Threading.Tasks.UniTask.Yield*" > < / a >
2023-10-26 12:13:49 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Yield_Cysharp_Threading_Tasks_PlayerLoopTiming_" data-uid = "Cysharp.Threading.Tasks.UniTask.Yield(Cysharp.Threading.Tasks.PlayerLoopTiming)" > Yield(PlayerLoopTiming)< / h4 >
2021-03-02 14:17:34 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-10-26 12:13:49 +08:00
< pre > < code class = "lang-csharp hljs" > public static YieldAwaitable Yield(PlayerLoopTiming timing)< / code > < / pre >
2021-03-02 14:17:34 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > timing< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
2021-03-02 14:17:34 +08:00
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.YieldAwaitable.html" > YieldAwaitable< / a > < / dt >
2021-03-02 14:17:34 +08:00
< dd > < / dd >
< / dl >
< / section >
2020-05-13 10:07:22 +08:00
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Yield_" data-uid = "Cysharp.Threading.Tasks.UniTask.Yield*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Yield_Cysharp_Threading_Tasks_PlayerLoopTiming_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.Yield(Cysharp.Threading.Tasks.PlayerLoopTiming,System.Threading.CancellationToken,System.Boolean)" > Yield(PlayerLoopTiming, CancellationToken, Boolean)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask Yield(PlayerLoopTiming timing, CancellationToken cancellationToken, bool cancelImmediately = false)< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > timing< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.PlayerLoopTiming.html" > PlayerLoopTiming< / a > < / dt >
< dd > < / dd >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
< / dl >
< / section >
< / section >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_Yield_" data-uid = "Cysharp.Threading.Tasks.UniTask.Yield*" > < / a >
2023-11-02 12:54:10 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_Yield_System_Threading_CancellationToken_System_Boolean_" data-uid = "Cysharp.Threading.Tasks.UniTask.Yield(System.Threading.CancellationToken,System.Boolean)" > Yield(CancellationToken, Boolean)< / h4 >
2020-05-13 10:07:22 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
2023-11-02 12:54:10 +08:00
< pre > < code class = "lang-csharp hljs" > public static UniTask Yield(CancellationToken cancellationToken, bool cancelImmediately = false)< / code > < / pre >
2020-05-13 10:07:22 +08:00
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
2023-10-26 12:13:49 +08:00
< dt > < span class = "parametername" > < code > cancellationToken< / code > < / span > < span class = "xref" > System.Threading.CancellationToken< / span > < / dt >
2020-05-13 10:07:22 +08:00
< dd > < / dd >
2023-11-02 12:54:10 +08:00
< dt > < span class = "parametername" > < code > cancelImmediately< / code > < / span > < span class = "xref" > System.Boolean< / span > < / dt >
< dd > < / dd >
2020-05-13 10:07:22 +08:00
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-06-03 09:29:36 +08:00
< / section >
< h3 id = "operators" > Operators
< / h3 >
< section >
< a id = "Cysharp_Threading_Tasks_UniTask_op_Implicit_" data-uid = "Cysharp.Threading.Tasks.UniTask.op_Implicit*" > < / a >
2022-08-02 09:48:47 +08:00
< h4 id = "Cysharp_Threading_Tasks_UniTask_op_Implicit_Cysharp_Threading_Tasks_UniTask___System_Threading_Tasks_ValueTask" data-uid = "Cysharp.Threading.Tasks.UniTask.op_Implicit(Cysharp.Threading.Tasks.UniTask@)~System.Threading.Tasks.ValueTask" > Implicit(in UniTask to ValueTask)< / h4 >
2020-06-03 09:29:36 +08:00
< div class = "markdown level1 summary" > < / div >
< div class = "markdown level1 conceptual" > < / div >
< div class = "codewrapper" >
< pre > < code class = "lang-csharp hljs" > public static implicit operator ValueTask(in UniTask self)< / code > < / pre >
< / div >
< section >
< h5 class = "parameters" > Parameters< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "parametername" > < code > self< / code > < / span > < a class = "xref" href = "Cysharp.Threading.Tasks.UniTask.html" > UniTask< / a > < / dt >
< dd > < / dd >
< / dl >
< / section >
< section >
< h5 class = "returns" > Returns< / h5 >
< dl class = "cysharpdocfx-valuedefinition" >
< dt > < span class = "xref" > System.Threading.Tasks.ValueTask< / span > < / dt >
< dd > < / dd >
< / dl >
< / section >
2020-05-13 10:07:22 +08:00
< / section >
< / article >
< / div >
< div class = "hidden-sm col-md-2" role = "complementary" >
< div class = "sideaffix" >
< nav class = "bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id = "affix" >
<!-- <p><a class="back - to - top" href="#top">Back to top</a><p> -->
< / nav >
< / div >
< / div >
< / div >
< / div >
< footer >
< div class = "footer" >
< div class = "container" >
< span class = "pull-right" >
< a href = "#top" > Back to top< / a >
< / span >
Copyright © < a href = "https://cysharp.co.jp/" > Cysharp< / a > , Inc. | < span > Generated by < strong > DocFX< / strong > < / span >
< / div >
< / div >
< / footer >
< / div >
< script type = "text/javascript" src = "../styles/docfx.vendor.js" > < / script >
< script type = "text/javascript" src = "../styles/docfx.js" > < / script >
< script type = "text/javascript" src = "../styles/docfx.override.js" > < / script >
< script type = "text/javascript" src = "../styles/main.js" > < / script >
< / body >
< / html >