MCPcopy Create free account
hub / github.com/temporalio/temporal / Start

Method Start

common/goro/example_group_test.go:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15func (svc *ExampleService) Start() {
16 // launch two background goroutines
17 svc.gorogrp.Go(svc.backgroundLoop1)
18 svc.gorogrp.Go(svc.backgroundLoop2)
19}
20
21func (svc *ExampleService) Stop() {
22 // stop all goroutines in the goro.Group

Callers 1

ExampleGroupFunction · 0.95

Calls 1

GoMethod · 0.45

Tested by

no test coverage detected