Aller au contenu
Français

KeyValueNatsConnectionLike

Ce contenu n’est pas encore disponible dans votre langue.

Defined in: src/io/broker/JetStreamKeyValueActor.ts:498

Minimal NatsConnection surface the KV actor depends on. Declared here rather than shared with JetStreamActor: that actor’s NatsConnectionLike has no views, and widening it would drag the stream actor’s stubs into every KV change (and vice versa). Exported so a test subclass overriding createNatsConnection can satisfy the shape without the real nats peer-dep.

closed(): Promise<Error | undefined>

Defined in: src/io/broker/JetStreamKeyValueActor.ts:501

Promise<Error | undefined>


drain(): Promise<void>

Defined in: src/io/broker/JetStreamKeyValueActor.ts:500

Promise<void>


jetstream(): KeyValueJetStreamClientLike

Defined in: src/io/broker/JetStreamKeyValueActor.ts:499

KeyValueJetStreamClientLike