namespace Misaki.HighPerformance.Jobs; public readonly ref struct JobExecutionContext { /// /// Gets the 0-based index of the current thread executing the job. /// public int ThreadIndex { get; init; } /// /// Gets the job scheduler that is responsible for managing the execution of jobs. /// public JobScheduler JobScheduler { get; init; } /// /// Gets the state object for the job scheduler. /// public object? State { get; init; } /// /// Gets the handle for the currently executing job. /// public JobHandle SelfHandle { get; init; } }