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

Method Start

federationapi/consumers/typing.go:63–68  ·  view source on GitHub ↗

Start consuming from the clientapi

()

Source from the content-addressed store, hash-verified

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

Callers 1

NewInternalAPIFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected