# RunByRef<T>(ref T)

> Performs the job's Execute method immediately on the same thread by reference.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Jobs](/engine/6000.0/script-reference/unity/jobs.md)
* **Assembly:** UnityEngine.CoreModule

## RunByRef\<T>(T)

```csharp
public static void RunByRef<T>(this ref T jobData) where T : struct, IJob
```

### Parameters

**** (T): The job and data to run.

### Remarks

Additional Resources: [IJob](/engine/6000.0/script-reference/unity/jobs/ijob.md).
