Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a scheduler using the requested execution strategy.

API: engine
Project: Inno.Core.Jobs

public Inno.Core.Jobs.JobScheduler.JobScheduler(Inno.Core.Jobs.JobExecutionMode mode, Inno.Core.Jobs.JobSchedulerOptions options = default(Inno.Core.Jobs.JobSchedulerOptions))

Parameter mode: The execution strategy owned by the scheduler.

Parameter options: Frame admission and main-thread queue limits for either strategy; worker count applies only to F:Inno.Core.Jobs.JobExecutionMode.WorkerPool.

Exception T:System.ArgumentOutOfRangeException: Thrown when mode is not a defined execution strategy.