StartAsync starts Service asynchronously. Service must be in New State, otherwise error is returned. Context is used as a parent context for service own context.
(ctx context.Context)
| 56 | // StartAsync starts Service asynchronously. Service must be in New State, otherwise error is returned. |
| 57 | // Context is used as a parent context for service own context. |
| 58 | StartAsync(ctx context.Context) error |
| 59 | |
| 60 | // AwaitRunning waits until service gets into Running state. |
| 61 | // If service is in New or Starting state, this method is blocking. |
no outgoing calls