# Sandbox.SandboxToolExtensions.WaitForLoadAsync

```csharp
static System.Threading.Tasks.Task WaitForLoadAsync(Resource resource, System.Threading.CancellationToken ct = null)
```

Creates a task that completes when `resource` is fully loaded.

### Parameters

- `resource` (`Resource`)
- `ct` (`System.Threading.CancellationToken`), default `null`

### Returns

`System.Threading.Tasks.Task`

Declared in [Sandbox.SandboxToolExtensions](/api/Sandbox.SandboxToolExtensions).
Assembly: `Sandbox.Tools`.
