# Wait(EventID)

> Wait for an asynchronous event.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.LightTransport](/engine/6000.7/script-reference/unityengine/lighttransport.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public bool Wait(EventID id)
```

### Parameters

**** (\[EventID]\(/engine/6000.7/script-reference/unityengine/lighttransport/eventid)): ID of the event.

### Returns

| Type                                                          | Description                                       |
| ------------------------------------------------------------- | ------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true of the event completed successfully. |

### Remarks

The [ReferenceContext](/engine/6000.7/script-reference/unityengine/lighttransport/referencecontext.md) implementation of the [IDeviceContext.Wait](/engine/6000.7/script-reference/unityengine/lighttransport/idevicecontext/wait.md) method will return immediately because the context doesn't use a queue.
