KeyValueNatsConnectionLike
Esta página aún no está disponible en tu idioma.
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.
Methods
Section titled “Methods”closed()
Section titled “closed()”closed():
Promise<Error|undefined>
Defined in: src/io/broker/JetStreamKeyValueActor.ts:501
Returns
Section titled “Returns”Promise<Error | undefined>
drain()
Section titled “drain()”drain():
Promise<void>
Defined in: src/io/broker/JetStreamKeyValueActor.ts:500
Returns
Section titled “Returns”Promise<void>
jetstream()
Section titled “jetstream()”jetstream():
KeyValueJetStreamClientLike
Defined in: src/io/broker/JetStreamKeyValueActor.ts:499
