# SubscriberRoute

`interface` in `http` · v0.8.0

<https://docs.seedcord.org/packages/http/0.8.0/interfaces/subscriber-route>

A bus subscriber row. The Bus registers it without importing the subscriber module, and resolves the class on the first publish of one of its keys.

```ts
interface SubscriberRoute extends RouteModule
```

## Properties

### exportName

```ts
readonly exportName: string
```

The exported binding inside the loaded module.

### frequency

```ts
readonly frequency: EventFrequency
```

Mirrors the `@Subscribe` frequency metadata.

### from

```ts
readonly from: string
```

The source file the row came from, reported when the export is missing.

### keys

```ts
readonly keys: readonly SubscriptionKey[]
```

The subscription keys this subscriber registers for.

### load

```ts
readonly load: () => Promise<Record<string, unknown>>
```

Lazy import of the module, evaluated on first hit.
