Started returns a channel that's closed when a service finishes starting, or if failed to start and is stopped instead. It can be used in conjunction with WaitAllStarted to verify startup of a constellation of services.
()
| 25 | // conjunction with WaitAllStarted to verify startup of a constellation of |
| 26 | // services. |
| 27 | Started() <-chan struct{} |
| 28 | |
| 29 | // Stop stops a service. Services are responsible for making sure their stop |
| 30 | // is complete before returning so a caller can wait on this invocation |
no outgoing calls