# running

function in `@dioramajs/diorama/audio/graph`

```ts
import { running } from '@dioramajs/diorama/audio/graph'
```

Resolves true once the context runs, false if the signal aborts first. A suspended context
would route a connected element to silence, so nothing connects before it runs.

```ts
function running(graph: AudioContext, signal: AbortSignal): Promise<boolean>
```

| Parameter | Type | Description |
| --- | --- | --- |
| `graph` | `AudioContext` |  |
| `signal` | `AbortSignal` |  |

Also exported from `@dioramajs/audio/graph`.

Defined in [packages/audio/src/graph.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/audio/src/graph.ts#L88).
