Synced
JobScheduler.Schedule
Section titled “JobScheduler.Schedule”
- Schedules one stateful job after all supplied dependencies complete.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Jobs
Declaration
Section titled “Declaration”public Inno.Core.Jobs.JobHandle Inno.Core.Jobs.JobScheduler.Schedule(System.Action<object?> job, object? state, System.ReadOnlySpan<Inno.Core.Jobs.JobHandle> dependencies)Parameters
Section titled “Parameters”Parameter job: The operation receiving state.
Parameter state: Optional caller-owned state passed to the operation.
Parameter dependencies: Handles that must complete before the operation becomes runnable.
Returns
Section titled “Returns”A generation-safe handle representing the scheduled operation.