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

Method Start

federationapi/consumers/receipts.go:66–71  ·  view source on GitHub ↗

Start consuming from the clientapi

()

Source from the content-addressed store, hash-verified

64
65// Start consuming from the clientapi
66func (t *OutputReceiptConsumer) Start() error {
67 return jetstream.JetStreamConsumer(
68 t.ctx, t.jetstream, t.topic, t.durable, t.onMessage,
69 nats.DeliverAll(), nats.ManualAck(), nats.HeadersOnly(),
70 )
71}
72
73// onMessage is called in response to a message received on the receipt
74// events topic from the client api.

Callers 1

NewInternalAPIFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected