MCPcopy Create free account
hub / github.com/daodst/chat / Start

Method Start

federationapi/consumers/keychange.go:68–73  ·  view source on GitHub ↗

Start consuming from key servers

()

Source from the content-addressed store, hash-verified

66
67// Start consuming from key servers
68func (t *KeyChangeConsumer) Start() error {
69 return jetstream.JetStreamConsumer(
70 t.ctx, t.jetstream, t.topic, t.durable, t.onMessage,
71 nats.DeliverAll(), nats.ManualAck(),
72 )
73}
74
75// onMessage is called in response to a message received on the
76// key change events topic from the key server.

Callers 1

NewInternalAPIFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected