aboutsummaryrefslogblamecommitdiff
path: root/options.go
blob: d1030ba11e1fb122a716bb4f738adbe0dae8e24f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

              








                                                                                                   
 
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
)