# KeyedQueue

`class` in `core` · v0.13.0

<https://seedcord.org/docs/packages/core/0.13.0/classes/keyed-queue>

```ts
class KeyedQueue
```

## Methods

### read

```ts
public async read<TResult>(
    key: string,
    task: () => Promise<TResult>
): Promise<TResult>
```

### run

```ts
public async run<TResult>(
    key: string,
    task: () => Promise<TResult>
): Promise<TResult>
```

### watchWrites

```ts
public watchWrites(): WriteWatch
```
