gh-pages
neuecc 2020-07-14 02:27:03 +00:00
parent fa986ccfcf
commit d20a904dcd
3 changed files with 110 additions and 94 deletions

View File

@ -325,56 +325,56 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
</tr> </tr>
<tr> <tr>
<td> <td>
<a class="xref" href="Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Boolean_">Run(Action, Boolean)</a> <a class="xref" href="Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Boolean_CancellationToken_">Run(Action, Boolean, CancellationToken)</a>
</td> </td>
<td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<a class="xref" href="Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Object__System_Object_System_Boolean_">Run(Action&lt;Object&gt;, Object, Boolean)</a> <a class="xref" href="Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Object__System_Object_System_Boolean_CancellationToken_">Run(Action&lt;Object&gt;, Object, Boolean, CancellationToken)</a>
</td> </td>
<td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<a class="xref" href="Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Func_Cysharp_Threading_Tasks_UniTask__System_Boolean_">Run(Func&lt;UniTask&gt;, Boolean)</a> <a class="xref" href="Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Func_Cysharp_Threading_Tasks_UniTask__System_Boolean_CancellationToken_">Run(Func&lt;UniTask&gt;, Boolean, CancellationToken)</a>
</td> </td>
<td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<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_">Run(Func&lt;Object, UniTask&gt;, Object, Boolean)</a> <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_CancellationToken_">Run(Func&lt;Object, UniTask&gt;, Object, Boolean, CancellationToken)</a>
</td> </td>
<td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<a class="xref" href="Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func___0__System_Boolean_">Run&lt;T&gt;(Func&lt;T&gt;, Boolean)</a> <a class="xref" href="Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func___0__System_Boolean_CancellationToken_">Run&lt;T&gt;(Func&lt;T&gt;, Boolean, CancellationToken)</a>
</td> </td>
<td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<a class="xref" href="Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___System_Boolean_">Run&lt;T&gt;(Func&lt;UniTask&lt;T&gt;&gt;, Boolean)</a> <a class="xref" href="Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___System_Boolean_CancellationToken_">Run&lt;T&gt;(Func&lt;UniTask&lt;T&gt;&gt;, Boolean, CancellationToken)</a>
</td> </td>
<td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<a class="xref" href="Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object___0__System_Object_System_Boolean_">Run&lt;T&gt;(Func&lt;Object, T&gt;, Object, Boolean)</a> <a class="xref" href="Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object___0__System_Object_System_Boolean_CancellationToken_">Run&lt;T&gt;(Func&lt;Object, T&gt;, Object, Boolean, CancellationToken)</a>
</td> </td>
<td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<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_">Run&lt;T&gt;(Func&lt;Object, UniTask&lt;T&gt;&gt;, Object, Boolean)</a> <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_CancellationToken_">Run&lt;T&gt;(Func&lt;Object, UniTask&lt;T&gt;&gt;, Object, Boolean, CancellationToken)</a>
</td> </td>
<td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <td class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</td> </td>
@ -1883,13 +1883,13 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
</section> </section>
<section> <section>
<a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a> <a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a>
<h4 id="Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Boolean_" data-uid="Cysharp.Threading.Tasks.UniTask.Run(System.Action,System.Boolean)">Run(Action, Boolean)</h4> <h4 id="Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Boolean_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UniTask.Run(System.Action,System.Boolean,CancellationToken)">Run(Action, Boolean, CancellationToken)</h4>
<div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</div> </div>
<div class="markdown level1 conceptual"></div> <div class="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">public static UniTask Run(Action action, bool configureAwait = true)</code></pre> <pre><code class="lang-csharp hljs">public static UniTask Run(Action action, bool configureAwait = true, CancellationToken cancellationToken = null)</code></pre>
</div> </div>
<section> <section>
@ -1899,6 +1899,8 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt> <dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
<dd></dd>
</dl> </dl>
</section> </section>
@ -1923,13 +1925,13 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
</section> </section>
<section> <section>
<a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a> <a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a>
<h4 id="Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Object__System_Object_System_Boolean_" data-uid="Cysharp.Threading.Tasks.UniTask.Run(System.Action{System.Object},System.Object,System.Boolean)">Run(Action&lt;Object&gt;, Object, Boolean)</h4> <h4 id="Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Object__System_Object_System_Boolean_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UniTask.Run(System.Action{System.Object},System.Object,System.Boolean,CancellationToken)">Run(Action&lt;Object&gt;, Object, Boolean, CancellationToken)</h4>
<div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</div> </div>
<div class="markdown level1 conceptual"></div> <div class="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">public static UniTask Run(Action&lt;object&gt; action, object state, bool configureAwait = true)</code></pre> <pre><code class="lang-csharp hljs">public static UniTask Run(Action&lt;object&gt; action, object state, bool configureAwait = true, CancellationToken cancellationToken = null)</code></pre>
</div> </div>
<section> <section>
@ -1941,6 +1943,8 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt> <dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
<dd></dd>
</dl> </dl>
</section> </section>
@ -1965,13 +1969,13 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
</section> </section>
<section> <section>
<a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a> <a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a>
<h4 id="Cysharp_Threading_Tasks_UniTask_Run_System_Func_Cysharp_Threading_Tasks_UniTask__System_Boolean_" data-uid="Cysharp.Threading.Tasks.UniTask.Run(System.Func{Cysharp.Threading.Tasks.UniTask},System.Boolean)">Run(Func&lt;UniTask&gt;, Boolean)</h4> <h4 id="Cysharp_Threading_Tasks_UniTask_Run_System_Func_Cysharp_Threading_Tasks_UniTask__System_Boolean_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UniTask.Run(System.Func{Cysharp.Threading.Tasks.UniTask},System.Boolean,CancellationToken)">Run(Func&lt;UniTask&gt;, Boolean, CancellationToken)</h4>
<div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</div> </div>
<div class="markdown level1 conceptual"></div> <div class="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">public static UniTask Run(Func&lt;UniTask&gt; action, bool configureAwait = true)</code></pre> <pre><code class="lang-csharp hljs">public static UniTask Run(Func&lt;UniTask&gt; action, bool configureAwait = true, CancellationToken cancellationToken = null)</code></pre>
</div> </div>
<section> <section>
@ -1981,6 +1985,8 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt> <dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
<dd></dd>
</dl> </dl>
</section> </section>
@ -2005,13 +2011,13 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
</section> </section>
<section> <section>
<a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a> <a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a>
<h4 id="Cysharp_Threading_Tasks_UniTask_Run_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask__System_Object_System_Boolean_" data-uid="Cysharp.Threading.Tasks.UniTask.Run(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask},System.Object,System.Boolean)">Run(Func&lt;Object, UniTask&gt;, Object, Boolean)</h4> <h4 id="Cysharp_Threading_Tasks_UniTask_Run_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask__System_Object_System_Boolean_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UniTask.Run(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask},System.Object,System.Boolean,CancellationToken)">Run(Func&lt;Object, UniTask&gt;, Object, Boolean, CancellationToken)</h4>
<div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</div> </div>
<div class="markdown level1 conceptual"></div> <div class="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">public static UniTask Run(Func&lt;object, UniTask&gt; action, object state, bool configureAwait = true)</code></pre> <pre><code class="lang-csharp hljs">public static UniTask Run(Func&lt;object, UniTask&gt; action, object state, bool configureAwait = true, CancellationToken cancellationToken = null)</code></pre>
</div> </div>
<section> <section>
@ -2023,6 +2029,8 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt> <dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
<dd></dd>
</dl> </dl>
</section> </section>
@ -2047,13 +2055,13 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
</section> </section>
<section> <section>
<a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a> <a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a>
<h4 id="Cysharp_Threading_Tasks_UniTask_Run__1_System_Func___0__System_Boolean_" data-uid="Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{``0},System.Boolean)">Run&lt;T&gt;(Func&lt;T&gt;, Boolean)</h4> <h4 id="Cysharp_Threading_Tasks_UniTask_Run__1_System_Func___0__System_Boolean_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{``0},System.Boolean,CancellationToken)">Run&lt;T&gt;(Func&lt;T&gt;, Boolean, CancellationToken)</h4>
<div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</div> </div>
<div class="markdown level1 conceptual"></div> <div class="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">public static UniTask&lt;T&gt; Run&lt;T&gt;(Func&lt;T&gt; func, bool configureAwait = true)</code></pre> <pre><code class="lang-csharp hljs">public static UniTask&lt;T&gt; Run&lt;T&gt;(Func&lt;T&gt; func, bool configureAwait = true, CancellationToken cancellationToken = null)</code></pre>
</div> </div>
<section> <section>
@ -2063,6 +2071,8 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt> <dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
<dd></dd>
</dl> </dl>
</section> </section>
@ -2094,13 +2104,13 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
</section> </section>
<section> <section>
<a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a> <a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a>
<h4 id="Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___System_Boolean_" data-uid="Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}},System.Boolean)">Run&lt;T&gt;(Func&lt;UniTask&lt;T&gt;&gt;, Boolean)</h4> <h4 id="Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___System_Boolean_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}},System.Boolean,CancellationToken)">Run&lt;T&gt;(Func&lt;UniTask&lt;T&gt;&gt;, Boolean, CancellationToken)</h4>
<div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</div> </div>
<div class="markdown level1 conceptual"></div> <div class="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">public static UniTask&lt;T&gt; Run&lt;T&gt;(Func&lt;UniTask&lt;T&gt;&gt; func, bool configureAwait = true)</code></pre> <pre><code class="lang-csharp hljs">public static UniTask&lt;T&gt; Run&lt;T&gt;(Func&lt;UniTask&lt;T&gt;&gt; func, bool configureAwait = true, CancellationToken cancellationToken = null)</code></pre>
</div> </div>
<section> <section>
@ -2110,6 +2120,8 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt> <dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
<dd></dd>
</dl> </dl>
</section> </section>
@ -2141,13 +2153,13 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
</section> </section>
<section> <section>
<a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a> <a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a>
<h4 id="Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object___0__System_Object_System_Boolean_" data-uid="Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,``0},System.Object,System.Boolean)">Run&lt;T&gt;(Func&lt;Object, T&gt;, Object, Boolean)</h4> <h4 id="Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object___0__System_Object_System_Boolean_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,``0},System.Object,System.Boolean,CancellationToken)">Run&lt;T&gt;(Func&lt;Object, T&gt;, Object, Boolean, CancellationToken)</h4>
<div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</div> </div>
<div class="markdown level1 conceptual"></div> <div class="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">public static UniTask&lt;T&gt; Run&lt;T&gt;(Func&lt;object, T&gt; func, object state, bool configureAwait = true)</code></pre> <pre><code class="lang-csharp hljs">public static UniTask&lt;T&gt; Run&lt;T&gt;(Func&lt;object, T&gt; func, object state, bool configureAwait = true, CancellationToken cancellationToken = null)</code></pre>
</div> </div>
<section> <section>
@ -2159,6 +2171,8 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt> <dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
<dd></dd>
</dl> </dl>
</section> </section>
@ -2190,13 +2204,13 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
</section> </section>
<section> <section>
<a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a> <a id="Cysharp_Threading_Tasks_UniTask_Run_" data-uid="Cysharp.Threading.Tasks.UniTask.Run*"></a>
<h4 id="Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask___0___System_Object_System_Boolean_" data-uid="Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask{``0}},System.Object,System.Boolean)">Run&lt;T&gt;(Func&lt;Object, UniTask&lt;T&gt;&gt;, Object, Boolean)</h4> <h4 id="Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask___0___System_Object_System_Boolean_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask{``0}},System.Object,System.Boolean,CancellationToken)">Run&lt;T&gt;(Func&lt;Object, UniTask&lt;T&gt;&gt;, Object, Boolean, CancellationToken)</h4>
<div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p> <div class="markdown level1 summary"><p>Run action on the threadPool and return to main thread if configureAwait = true.</p>
</div> </div>
<div class="markdown level1 conceptual"></div> <div class="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">public static UniTask&lt;T&gt; Run&lt;T&gt;(Func&lt;object, UniTask&lt;T&gt;&gt; func, object state, bool configureAwait = true)</code></pre> <pre><code class="lang-csharp hljs">public static UniTask&lt;T&gt; Run&lt;T&gt;(Func&lt;object, UniTask&lt;T&gt;&gt; func, object state, bool configureAwait = true, CancellationToken cancellationToken = null)</code></pre>
</div> </div>
<section> <section>
@ -2208,6 +2222,8 @@ For example: FooAction = UniTask.Action(async () =&gt; { /* */ })</p>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt> <dt><span class="parametername"><code>configureAwait</code></span> <span class="xref">System.Boolean</span></dt>
<dd></dd> <dd></dd>
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
<dd></dd>
</dl> </dl>
</section> </section>

View File

@ -2781,7 +2781,7 @@
"output": { "output": {
".html": { ".html": {
"relative_path": "api/Cysharp.Threading.Tasks.UniTask.html", "relative_path": "api/Cysharp.Threading.Tasks.UniTask.html",
"hash": "wvmToYLxmI+GuDncSx3FhA==" "hash": "5G0P37qTNzKRyoXi6DM5VA=="
} }
}, },
"is_incremental": false, "is_incremental": false,

View File

@ -17898,39 +17898,39 @@ references:
isSpec: "True" isSpec: "True"
fullName: Cysharp.Threading.Tasks.UniTask.ReturnToSynchronizationContext fullName: Cysharp.Threading.Tasks.UniTask.ReturnToSynchronizationContext
nameWithType: UniTask.ReturnToSynchronizationContext nameWithType: UniTask.ReturnToSynchronizationContext
- uid: Cysharp.Threading.Tasks.UniTask.Run(System.Action,System.Boolean) - uid: Cysharp.Threading.Tasks.UniTask.Run(System.Action,System.Boolean,CancellationToken)
name: Run(Action, Boolean) name: Run(Action, Boolean, CancellationToken)
href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Boolean_ href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Boolean_CancellationToken_
commentId: M:Cysharp.Threading.Tasks.UniTask.Run(System.Action,System.Boolean) commentId: M:Cysharp.Threading.Tasks.UniTask.Run(System.Action,System.Boolean,CancellationToken)
fullName: Cysharp.Threading.Tasks.UniTask.Run(System.Action, System.Boolean) fullName: Cysharp.Threading.Tasks.UniTask.Run(System.Action, System.Boolean, CancellationToken)
nameWithType: UniTask.Run(Action, Boolean) nameWithType: UniTask.Run(Action, Boolean, CancellationToken)
- uid: Cysharp.Threading.Tasks.UniTask.Run(System.Action{System.Object},System.Object,System.Boolean) - uid: Cysharp.Threading.Tasks.UniTask.Run(System.Action{System.Object},System.Object,System.Boolean,CancellationToken)
name: Run(Action<Object>, Object, Boolean) name: Run(Action<Object>, Object, Boolean, CancellationToken)
href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Object__System_Object_System_Boolean_ href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Action_System_Object__System_Object_System_Boolean_CancellationToken_
commentId: M:Cysharp.Threading.Tasks.UniTask.Run(System.Action{System.Object},System.Object,System.Boolean) commentId: M:Cysharp.Threading.Tasks.UniTask.Run(System.Action{System.Object},System.Object,System.Boolean,CancellationToken)
name.vb: Run(Action(Of Object), Object, Boolean) name.vb: Run(Action(Of Object), Object, Boolean, CancellationToken)
fullName: Cysharp.Threading.Tasks.UniTask.Run(System.Action<System.Object>, System.Object, System.Boolean) fullName: Cysharp.Threading.Tasks.UniTask.Run(System.Action<System.Object>, System.Object, System.Boolean, CancellationToken)
fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(System.Action(Of System.Object), System.Object, System.Boolean) fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(System.Action(Of System.Object), System.Object, System.Boolean, CancellationToken)
nameWithType: UniTask.Run(Action<Object>, Object, Boolean) nameWithType: UniTask.Run(Action<Object>, Object, Boolean, CancellationToken)
nameWithType.vb: UniTask.Run(Action(Of Object), Object, Boolean) nameWithType.vb: UniTask.Run(Action(Of Object), Object, Boolean, CancellationToken)
- uid: Cysharp.Threading.Tasks.UniTask.Run(System.Func{Cysharp.Threading.Tasks.UniTask},System.Boolean) - uid: Cysharp.Threading.Tasks.UniTask.Run(System.Func{Cysharp.Threading.Tasks.UniTask},System.Boolean,CancellationToken)
name: Run(Func<UniTask>, Boolean) name: Run(Func<UniTask>, Boolean, CancellationToken)
href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Func_Cysharp_Threading_Tasks_UniTask__System_Boolean_ href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Func_Cysharp_Threading_Tasks_UniTask__System_Boolean_CancellationToken_
commentId: M:Cysharp.Threading.Tasks.UniTask.Run(System.Func{Cysharp.Threading.Tasks.UniTask},System.Boolean) commentId: M:Cysharp.Threading.Tasks.UniTask.Run(System.Func{Cysharp.Threading.Tasks.UniTask},System.Boolean,CancellationToken)
name.vb: Run(Func(Of UniTask), Boolean) name.vb: Run(Func(Of UniTask), Boolean, CancellationToken)
fullName: Cysharp.Threading.Tasks.UniTask.Run(System.Func<Cysharp.Threading.Tasks.UniTask>, System.Boolean) fullName: Cysharp.Threading.Tasks.UniTask.Run(System.Func<Cysharp.Threading.Tasks.UniTask>, System.Boolean, CancellationToken)
fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(System.Func(Of Cysharp.Threading.Tasks.UniTask), System.Boolean) fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(System.Func(Of Cysharp.Threading.Tasks.UniTask), System.Boolean, CancellationToken)
nameWithType: UniTask.Run(Func<UniTask>, Boolean) nameWithType: UniTask.Run(Func<UniTask>, Boolean, CancellationToken)
nameWithType.vb: UniTask.Run(Func(Of UniTask), Boolean) nameWithType.vb: UniTask.Run(Func(Of UniTask), Boolean, CancellationToken)
- uid: Cysharp.Threading.Tasks.UniTask.Run(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask},System.Object,System.Boolean) - uid: Cysharp.Threading.Tasks.UniTask.Run(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask},System.Object,System.Boolean,CancellationToken)
name: Run(Func<Object, UniTask>, Object, Boolean) name: Run(Func<Object, UniTask>, Object, Boolean, CancellationToken)
href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask__System_Object_System_Boolean_ href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask__System_Object_System_Boolean_CancellationToken_
commentId: M:Cysharp.Threading.Tasks.UniTask.Run(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask},System.Object,System.Boolean) commentId: M:Cysharp.Threading.Tasks.UniTask.Run(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask},System.Object,System.Boolean,CancellationToken)
name.vb: Run(Func(Of Object, UniTask), Object, Boolean) name.vb: Run(Func(Of Object, UniTask), Object, Boolean, CancellationToken)
fullName: Cysharp.Threading.Tasks.UniTask.Run(System.Func<System.Object, Cysharp.Threading.Tasks.UniTask>, System.Object, System.Boolean) fullName: Cysharp.Threading.Tasks.UniTask.Run(System.Func<System.Object, Cysharp.Threading.Tasks.UniTask>, System.Object, System.Boolean, CancellationToken)
fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(System.Func(Of System.Object, Cysharp.Threading.Tasks.UniTask), System.Object, System.Boolean) fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(System.Func(Of System.Object, Cysharp.Threading.Tasks.UniTask), System.Object, System.Boolean, CancellationToken)
nameWithType: UniTask.Run(Func<Object, UniTask>, Object, Boolean) nameWithType: UniTask.Run(Func<Object, UniTask>, Object, Boolean, CancellationToken)
nameWithType.vb: UniTask.Run(Func(Of Object, UniTask), Object, Boolean) nameWithType.vb: UniTask.Run(Func(Of Object, UniTask), Object, Boolean, CancellationToken)
- uid: Cysharp.Threading.Tasks.UniTask.Run* - uid: Cysharp.Threading.Tasks.UniTask.Run*
name: Run name: Run
href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_ href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run_
@ -17938,42 +17938,42 @@ references:
isSpec: "True" isSpec: "True"
fullName: Cysharp.Threading.Tasks.UniTask.Run fullName: Cysharp.Threading.Tasks.UniTask.Run
nameWithType: UniTask.Run nameWithType: UniTask.Run
- uid: Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{``0},System.Boolean) - uid: Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{``0},System.Boolean,CancellationToken)
name: Run<T>(Func<T>, Boolean) name: Run<T>(Func<T>, Boolean, CancellationToken)
href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func___0__System_Boolean_ href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func___0__System_Boolean_CancellationToken_
commentId: M:Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{``0},System.Boolean) commentId: M:Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{``0},System.Boolean,CancellationToken)
name.vb: Run(Of T)(Func(Of T), Boolean) name.vb: Run(Of T)(Func(Of T), Boolean, CancellationToken)
fullName: Cysharp.Threading.Tasks.UniTask.Run<T>(System.Func<T>, System.Boolean) fullName: Cysharp.Threading.Tasks.UniTask.Run<T>(System.Func<T>, System.Boolean, CancellationToken)
fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(Of T)(System.Func(Of T), System.Boolean) fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(Of T)(System.Func(Of T), System.Boolean, CancellationToken)
nameWithType: UniTask.Run<T>(Func<T>, Boolean) nameWithType: UniTask.Run<T>(Func<T>, Boolean, CancellationToken)
nameWithType.vb: UniTask.Run(Of T)(Func(Of T), Boolean) nameWithType.vb: UniTask.Run(Of T)(Func(Of T), Boolean, CancellationToken)
- uid: Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}},System.Boolean) - uid: Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}},System.Boolean,CancellationToken)
name: Run<T>(Func<UniTask<T>>, Boolean) name: Run<T>(Func<UniTask<T>>, Boolean, CancellationToken)
href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___System_Boolean_ href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_Cysharp_Threading_Tasks_UniTask___0___System_Boolean_CancellationToken_
commentId: M:Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}},System.Boolean) commentId: M:Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{Cysharp.Threading.Tasks.UniTask{``0}},System.Boolean,CancellationToken)
name.vb: Run(Of T)(Func(Of UniTask(Of T)), Boolean) name.vb: Run(Of T)(Func(Of UniTask(Of T)), Boolean, CancellationToken)
fullName: Cysharp.Threading.Tasks.UniTask.Run<T>(System.Func<Cysharp.Threading.Tasks.UniTask<T>>, System.Boolean) fullName: Cysharp.Threading.Tasks.UniTask.Run<T>(System.Func<Cysharp.Threading.Tasks.UniTask<T>>, System.Boolean, CancellationToken)
fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(Of T)(System.Func(Of Cysharp.Threading.Tasks.UniTask(Of T)), System.Boolean) fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(Of T)(System.Func(Of Cysharp.Threading.Tasks.UniTask(Of T)), System.Boolean, CancellationToken)
nameWithType: UniTask.Run<T>(Func<UniTask<T>>, Boolean) nameWithType: UniTask.Run<T>(Func<UniTask<T>>, Boolean, CancellationToken)
nameWithType.vb: UniTask.Run(Of T)(Func(Of UniTask(Of T)), Boolean) nameWithType.vb: UniTask.Run(Of T)(Func(Of UniTask(Of T)), Boolean, CancellationToken)
- uid: Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,``0},System.Object,System.Boolean) - uid: Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,``0},System.Object,System.Boolean,CancellationToken)
name: Run<T>(Func<Object, T>, Object, Boolean) name: Run<T>(Func<Object, T>, Object, Boolean, CancellationToken)
href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object___0__System_Object_System_Boolean_ href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object___0__System_Object_System_Boolean_CancellationToken_
commentId: M:Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,``0},System.Object,System.Boolean) commentId: M:Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,``0},System.Object,System.Boolean,CancellationToken)
name.vb: Run(Of T)(Func(Of Object, T), Object, Boolean) name.vb: Run(Of T)(Func(Of Object, T), Object, Boolean, CancellationToken)
fullName: Cysharp.Threading.Tasks.UniTask.Run<T>(System.Func<System.Object, T>, System.Object, System.Boolean) fullName: Cysharp.Threading.Tasks.UniTask.Run<T>(System.Func<System.Object, T>, System.Object, System.Boolean, CancellationToken)
fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(Of T)(System.Func(Of System.Object, T), System.Object, System.Boolean) fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(Of T)(System.Func(Of System.Object, T), System.Object, System.Boolean, CancellationToken)
nameWithType: UniTask.Run<T>(Func<Object, T>, Object, Boolean) nameWithType: UniTask.Run<T>(Func<Object, T>, Object, Boolean, CancellationToken)
nameWithType.vb: UniTask.Run(Of T)(Func(Of Object, T), Object, Boolean) nameWithType.vb: UniTask.Run(Of T)(Func(Of Object, T), Object, Boolean, CancellationToken)
- uid: Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask{``0}},System.Object,System.Boolean) - uid: Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask{``0}},System.Object,System.Boolean,CancellationToken)
name: Run<T>(Func<Object, UniTask<T>>, Object, Boolean) name: Run<T>(Func<Object, UniTask<T>>, Object, Boolean, CancellationToken)
href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask___0___System_Object_System_Boolean_ href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Run__1_System_Func_System_Object_Cysharp_Threading_Tasks_UniTask___0___System_Object_System_Boolean_CancellationToken_
commentId: M:Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask{``0}},System.Object,System.Boolean) commentId: M:Cysharp.Threading.Tasks.UniTask.Run``1(System.Func{System.Object,Cysharp.Threading.Tasks.UniTask{``0}},System.Object,System.Boolean,CancellationToken)
name.vb: Run(Of T)(Func(Of Object, UniTask(Of T)), Object, Boolean) name.vb: Run(Of T)(Func(Of Object, UniTask(Of T)), Object, Boolean, CancellationToken)
fullName: Cysharp.Threading.Tasks.UniTask.Run<T>(System.Func<System.Object, Cysharp.Threading.Tasks.UniTask<T>>, System.Object, System.Boolean) fullName: Cysharp.Threading.Tasks.UniTask.Run<T>(System.Func<System.Object, Cysharp.Threading.Tasks.UniTask<T>>, System.Object, System.Boolean, CancellationToken)
fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(Of T)(System.Func(Of System.Object, Cysharp.Threading.Tasks.UniTask(Of T)), System.Object, System.Boolean) fullName.vb: Cysharp.Threading.Tasks.UniTask.Run(Of T)(System.Func(Of System.Object, Cysharp.Threading.Tasks.UniTask(Of T)), System.Object, System.Boolean, CancellationToken)
nameWithType: UniTask.Run<T>(Func<Object, UniTask<T>>, Object, Boolean) nameWithType: UniTask.Run<T>(Func<Object, UniTask<T>>, Object, Boolean, CancellationToken)
nameWithType.vb: UniTask.Run(Of T)(Func(Of Object, UniTask(Of T)), Object, Boolean) nameWithType.vb: UniTask.Run(Of T)(Func(Of Object, UniTask(Of T)), Object, Boolean, CancellationToken)
- uid: Cysharp.Threading.Tasks.UniTask.Status - uid: Cysharp.Threading.Tasks.UniTask.Status
name: Status name: Status
href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Status href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_Status