MCPcopy
hub / github.com/nats-io/nats.go / Stop

Method Stop

micro/service.go:50–50  ·  view source on GitHub ↗

Stop drains the endpoint subscriptions and marks the service as stopped.

()

Source from the content-addressed store, hash-verified

48
49 // Stop drains the endpoint subscriptions and marks the service as stopped.
50 Stop() error
51
52 // Stopped informs whether [Stop] was executed on the service.
53 Stopped() bool

Callers 15

handleAsyncReplyMethod · 0.65
FetchMethod · 0.65
FetchBatchMethod · 0.65
PurgeDeletesMethod · 0.65
KeysMethod · 0.65
ListKeysMethod · 0.65
StopMethod · 0.65
HistoryMethod · 0.65
WatchFilteredMethod · 0.65
PutMethod · 0.65
ListMethod · 0.65
stopPingTimerMethod · 0.65

Implementers 1

servicemicro/service.go

Calls

no outgoing calls

Tested by 15

TestChanSubscriberFunction · 0.52
TestChanQueueSubscriberFunction · 0.52
TestKeyValueWatchFunction · 0.52
TestKeyValueWatchContextFunction · 0.52
TestKeyValueListKeysFunction · 0.52