MCPcopy Index your code
hub / github.com/riverqueue/river / Stop

Method Stop

rivershared/startstop/start_stop.go:34–34  ·  view source on GitHub ↗

Stop stops a service. Services are responsible for making sure their stop is complete before returning so a caller can wait on this invocation synchronously and be guaranteed the service is fully stopped. Services are expected to be able to tolerate (1) being stopped without having been started, and

()

Source from the content-addressed store, hash-verified

32 // are expected to be able to tolerate (1) being stopped without having been
33 // started, and (2) being double-stopped.
34 Stop()
35}
36
37// ServiceWithStopped is a Service that can also return a Stopped channel. I've

Callers 15

Example_uniqueJobFunction · 0.65
Example_jobArgsHooksFunction · 0.65
Example_jobSnoozeFunction · 0.65
Example_subscriptionFunction · 0.65
Example_insertAndWorkFunction · 0.65
Example_periodicJobFunction · 0.65
Example_cronJobFunction · 0.65
Example_batchInsertFunction · 0.65
Test_SubscriptionManagerFunction · 0.65
Example_resumableCursorFunction · 0.65

Calls

no outgoing calls

Tested by 15

Example_uniqueJobFunction · 0.52
Example_jobArgsHooksFunction · 0.52
Example_jobSnoozeFunction · 0.52
Example_subscriptionFunction · 0.52
Example_insertAndWorkFunction · 0.52
Example_periodicJobFunction · 0.52
Example_cronJobFunction · 0.52
Example_batchInsertFunction · 0.52
Test_SubscriptionManagerFunction · 0.52
Example_resumableCursorFunction · 0.52