Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Schedules frames on the owning thread until a frame callback requests termination.

API: engine
Project: Inno.Shell

System.Threading.Tasks.ValueTask Inno.Shell.IShellFrameDriver.RunAsync(System.Func<bool> advanceFrame, System.Threading.CancellationToken cancellationToken)

Parameter advanceFrame: Executes one frame and returns true when the host should schedule another frame.

Parameter cancellationToken: Requests termination before the next frame.

Completion after scheduling ends; callback failures must propagate to the shell.