diff --git a/api/Cysharp.Threading.Tasks.UniTask.html b/api/Cysharp.Threading.Tasks.UniTask.html index 668f25d..3f9c12b 100644 --- a/api/Cysharp.Threading.Tasks.UniTask.html +++ b/api/Cysharp.Threading.Tasks.UniTask.html @@ -271,6 +271,13 @@ For example: FooAction = UniTask.Action(async () => { /* */ })

+ + + NextFrame(PlayerLoopTiming, CancellationToken) + +

Similar as UniTask.Yield but guaranteed run on next frame.

+ + Preserve() @@ -375,6 +382,20 @@ For example: FooAction = UniTask.Action(async () => { /* */ })

Void<T>(Func<T, UniTaskVoid>, T)

helper of fire and forget void action.

+ + + + + WaitForEndOfFrame() + +

Same as UniTask.Yield(PlayerLoopTiming.LastPostLateUpdate).

+ + + + + WaitForEndOfFrame(CancellationToken) + +

Same as UniTask.Yield(PlayerLoopTiming.LastPostLateUpdate, cancellationToken).

@@ -1473,6 +1494,46 @@ For example: FooAction = UniTask.Action(async () => { /* */ })

+ +
+ +

NextFrame(PlayerLoopTiming, CancellationToken)

+

Similar as UniTask.Yield but guaranteed run on next frame.

+
+
+ +
+
public static UniTask NextFrame(PlayerLoopTiming timing = PlayerLoopTiming.Update, CancellationToken cancellationToken = null)
+
+ +
+
Parameters
+
+
timing PlayerLoopTiming
+
+
cancellationToken CancellationToken
+
+
+
+ +
+
Returns
+
+
UniTask
+
+
+
+ + + + + + + + + + +
@@ -2058,6 +2119,75 @@ For example: FooAction = UniTask.Action(async () => { /* */ })

+
+
+ +

WaitForEndOfFrame()

+

Same as UniTask.Yield(PlayerLoopTiming.LastPostLateUpdate).

+
+
+ +
+
public static YieldAwaitable WaitForEndOfFrame()
+
+ + +
+
Returns
+
+
YieldAwaitable
+
+
+
+ + + + + + + + + + + +
+
+ +

WaitForEndOfFrame(CancellationToken)

+

Same as UniTask.Yield(PlayerLoopTiming.LastPostLateUpdate, cancellationToken).

+
+
+ +
+
public static UniTask WaitForEndOfFrame(CancellationToken cancellationToken)
+
+ +
+
Parameters
+
+
cancellationToken CancellationToken
+
+
+
+ +
+
Returns
+
+
UniTask
+
+
+
+ + + + + + + + + + +
diff --git a/manifest.json b/manifest.json index 5c8d422..97645d3 100644 --- a/manifest.json +++ b/manifest.json @@ -2697,7 +2697,7 @@ "output": { ".html": { "relative_path": "api/Cysharp.Threading.Tasks.UniTask.html", - "hash": "vVN9JH68+CfaJOWvvIPU3w==" + "hash": "/JmxL9wlxvVky8CHGPDUiw==" } }, "is_incremental": false, diff --git a/xrefmap.yml b/xrefmap.yml index 3055526..9d0033c 100644 --- a/xrefmap.yml +++ b/xrefmap.yml @@ -17217,6 +17217,19 @@ references: fullName.vb: Cysharp.Threading.Tasks.UniTask.Lazy(Of T)(System.Func(Of Cysharp.Threading.Tasks.UniTask(Of T))) nameWithType: UniTask.Lazy(Func>) nameWithType.vb: UniTask.Lazy(Of T)(Func(Of UniTask(Of T))) +- uid: Cysharp.Threading.Tasks.UniTask.NextFrame(Cysharp.Threading.Tasks.PlayerLoopTiming,CancellationToken) + name: NextFrame(PlayerLoopTiming, CancellationToken) + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_NextFrame_Cysharp_Threading_Tasks_PlayerLoopTiming_CancellationToken_ + commentId: M:Cysharp.Threading.Tasks.UniTask.NextFrame(Cysharp.Threading.Tasks.PlayerLoopTiming,CancellationToken) + fullName: Cysharp.Threading.Tasks.UniTask.NextFrame(Cysharp.Threading.Tasks.PlayerLoopTiming, CancellationToken) + nameWithType: UniTask.NextFrame(PlayerLoopTiming, CancellationToken) +- uid: Cysharp.Threading.Tasks.UniTask.NextFrame* + name: NextFrame + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_NextFrame_ + commentId: Overload:Cysharp.Threading.Tasks.UniTask.NextFrame + isSpec: "True" + fullName: Cysharp.Threading.Tasks.UniTask.NextFrame + nameWithType: UniTask.NextFrame - uid: Cysharp.Threading.Tasks.UniTask.op_Implicit(Cysharp.Threading.Tasks.UniTask@)~System.Threading.Tasks.ValueTask name: Implicit(UniTask to ValueTask) href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_op_Implicit_Cysharp_Threading_Tasks_UniTask___System_Threading_Tasks_ValueTask @@ -17443,6 +17456,25 @@ references: fullName.vb: Cysharp.Threading.Tasks.UniTask.Void(Of T)(System.Func(Of T, Cysharp.Threading.Tasks.UniTaskVoid), T) nameWithType: UniTask.Void(Func, T) nameWithType.vb: UniTask.Void(Of T)(Func(Of T, UniTaskVoid), T) +- uid: Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame + name: WaitForEndOfFrame() + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame + commentId: M:Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame + fullName: Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame() + nameWithType: UniTask.WaitForEndOfFrame() +- uid: Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame(CancellationToken) + name: WaitForEndOfFrame(CancellationToken) + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame_CancellationToken_ + commentId: M:Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame(CancellationToken) + fullName: Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame(CancellationToken) + nameWithType: UniTask.WaitForEndOfFrame(CancellationToken) +- uid: Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame* + name: WaitForEndOfFrame + href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitForEndOfFrame_ + commentId: Overload:Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame + isSpec: "True" + fullName: Cysharp.Threading.Tasks.UniTask.WaitForEndOfFrame + nameWithType: UniTask.WaitForEndOfFrame - uid: Cysharp.Threading.Tasks.UniTask.WaitUntil(System.Func{System.Boolean},Cysharp.Threading.Tasks.PlayerLoopTiming,CancellationToken) name: WaitUntil(Func, PlayerLoopTiming, CancellationToken) href: api/Cysharp.Threading.Tasks.UniTask.html#Cysharp_Threading_Tasks_UniTask_WaitUntil_System_Func_System_Boolean__Cysharp_Threading_Tasks_PlayerLoopTiming_CancellationToken_