JobHandle
Represents a handle to a job, which uniquely identifies a job scheduled in the job system.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: Unity.Jobs
- Assembly: UnityEngine.CoreModule
- Implements: IEquatable<JobHandle>
public struct JobHandle : IEquatable<JobHandle>
Properties
Property | Description |
|---|---|
| IsCompleted | Determines if a task is running. |
Methods
Method | Description |
|---|---|
| Complete | Ensures that a job has completed. |
| Equals | Determines if a JobHandle refers to the same scheduled job instance as the current instance. |
Static Methods
Method | Description |
|---|---|
| CheckFenceIsDependencyOrDidSyncFence | CheckFenceIsDependencyOrDidSyncFence. |
| CombineDependencies | Combines multiple dependencies into a single dependency. |
| CompleteAll | Ensures that all jobs have completed. |
| ScheduleBatchedJobs | Makes Schedule methods available to worker threads. |