Synced
JobScheduler.Constructor
Section titled “JobScheduler.Constructor”
- Creates a scheduler using the requested execution strategy.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Jobs
Declaration
Section titled “Declaration”public Inno.Core.Jobs.JobScheduler.JobScheduler(Inno.Core.Jobs.JobExecutionMode mode, Inno.Core.Jobs.JobSchedulerOptions options = default(Inno.Core.Jobs.JobSchedulerOptions))Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentOutOfRangeException: Thrown when mode is not a defined execution strategy.