Commit graph

9 commits

Author SHA1 Message Date
Alexander Kiryukhin
c86dd5f3d7
Fixed:
- ListenOsSignal handler now not in waitgroup. Before if all routines exited by itself (with DoNothingIfDone or DoNothingIfFail policies) waitgroup waits OS listener to complete
2019-04-04 10:15:18 +03:00
Alexander Kiryukhin
05212e50c9
Added:
- Mixin with errors channel
Changed:
- Default run policy now `ShutdownIfDone` && `ShutdownIfFail`
Fixed:
- Fixed OS signals listener
- Removed some dead code
2019-04-03 23:55:11 +03:00
Alexander Kiryukhin
1772990500 Options to listen different signals 2019-04-01 11:38:03 +03:00
Alexander Kiryukhin
d45d913c9e
Flexible run policies
Options refactoring
2019-03-27 02:44:38 +03:00
Alexander Kiryukhin
11a32ca219
Remove context from constructor 2019-01-17 07:57:51 +03:00
Alexander Kiryukhin
c5776ba6a3
Many changes 2019-01-17 07:54:39 +03:00
Alexander Kiryukhin
d64ca3bd06 Fix cancel context on signal 2019-01-11 17:28:36 +03:00
Alexander Kiryukhin
a4e62510cf Added OS signals handler
Added go.mod
2019-01-11 17:22:06 +03:00
Alexander Kiryukhin
c582001e89
Initial commit 2018-12-05 00:48:33 +03:00