Debian Codegraph @

debian/control

raw
1 Source: golang-github-oklog-run
2 Section: devel
3 Priority: optional
4 Maintainer: Debian Go Packaging Team <[email protected]>
5 Uploaders:
6 Dawid Dziurla <[email protected]>,
7 Dmitry Smirnov <[email protected]>,
8 Rules-Requires-Root: no
9 Build-Depends:
10 debhelper-compat (= 12),
11 dh-golang,
12 Build-Depends-Indep:
13 golang-any,
14 Standards-Version: 4.5.0
15 Homepage: https://github.com/oklog/run
16 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-oklog-run
17 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-oklog-run.git
18 XS-Go-Import-Path: github.com/oklog/run
19 Testsuite: autopkgtest-pkg-go
20
21 Package: golang-github-oklog-run-dev
22 Architecture: all
23 Depends:
24 ${misc:Depends},
25 Multi-Arch: foreign
26 Description: Universal mechanism to manage goroutine lifecycles
27 Create a zero-value run.Group, and then add actors to it. Actors are
28 defined as a pair of functions: an execute function, which should
29 run synchronously; and an interrupt function, which, when invoked,
30 should cause the execute function to return. Finally, invoke Run,
31 which concurrently runs all of the actors, waits until the first actor
32 exits, invokes the interrupt functions, and finally returns control
33 to the caller only once all actors have returned. This general-purpose
34 API allows callers to model pretty much any runnable task, and achieve
35 well-defined lifecycle semantics for the group.