From 01eeeaf5e136928abe75f95d58f3f9cce11c6fe6 Mon Sep 17 00:00:00 2001 From: Alexander Kiryukhin Date: Sat, 29 Jun 2019 01:19:21 +0300 Subject: Release. Auto listen OS signal (with mixin) Policies: ...Fail -> ...Error --- options.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'options.go') diff --git a/options.go b/options.go index 16c72e8..be91068 100644 --- a/options.go +++ b/options.go @@ -4,10 +4,10 @@ package rutina type Options int const ( - ShutdownIfFail Options = iota // Shutdown all routines if fail - RestartIfFail // Restart this routine if fail - DoNothingIfFail // Do nothing on fail - ShutdownIfDone // Shutdown all routines if this routine done without errors - RestartIfDone // Restart if this routine done without errors - DoNothingIfDone // Do nothing if this routine done without errors + ShutdownIfError Options = iota // Shutdown all routines if fail + RestartIfError // Restart this routine if fail + DoNothingIfError // Do nothing on fail + ShutdownIfDone // Shutdown all routines if this routine done without errors + RestartIfDone // Restart if this routine done without errors + DoNothingIfDone // Do nothing if this routine done without errors ) -- cgit v1.2.3