Synced
IShellFrameDriver.RunAsync
Section titled “IShellFrameDriver.RunAsync”
- Schedules frames on the owning thread until a frame callback requests termination.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Shell
Declaration
Section titled “Declaration”System.Threading.Tasks.ValueTask Inno.Shell.IShellFrameDriver.RunAsync(System.Func<bool> advanceFrame, System.Threading.CancellationToken cancellationToken)Parameters
Section titled “Parameters”Parameter advanceFrame: Executes one frame and returns true when the host should schedule another frame.
Parameter cancellationToken: Requests termination before the next frame.
Returns
Section titled “Returns”Completion after scheduling ends; callback failures must propagate to the shell.