Method DelayFrame
DelayFrame(int, CancellationToken?)
Waits until the specified amount of frames have passed.
public static Task DelayFrame(int frames, CancellationToken? cancellationToken = null)
Parameters
framesintThe number of frames to wait.
cancellationTokenCancellationToken?A cancellation token that should be used to cancel the work.