Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a driver whose scheduling callback resumes on the frame owner’s thread.

API: engine
Project: Inno.Shell

public Inno.Shell.ScheduledShellFrameDriver.ScheduledShellFrameDriver(System.Func<System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> nextFrame)

Parameter nextFrame: The callback that waits for a presentation opportunity and observes cancellation.

Exception T:System.ArgumentNullException: The callback is null.