# InteractionDispatcher

`class` in `gateway` · v0.10.0

<https://seedcord.org/docs/packages/gateway/0.10.0/classes/interaction-dispatcher>

```ts
class InteractionDispatcher implements Initializeable, HmrAware
```

## Constructors

### constructor

```ts
InteractionDispatcher(
    core: Core,
    inFlight: InFlight
)
```

Constructs a new instance of the `InteractionDispatcher` class

## Properties

### core

```ts
protected core: Core
```

## Methods

### init

```ts
public async init(): Promise<void>
```

### onHmr

```ts
public async onHmr(event: HmrUpdateEvent): Promise<void>
```

### warnUnhandledContextMenuRoutes

```ts
public warnUnhandledContextMenuRoutes(
    leaves: ContextMenuLeaves
): void
```

### warnUnhandledRoutes

```ts
public warnUnhandledRoutes(
    commandLeaves: Iterable<string>
): void
```
