Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Signal trap #19

@kamilsk

Description

@kamilsk
  • alias
interrupter := breaker.Termination()
// breaker.BreakBySignal(os.Interrupt, syscall.SIGINT, syscall.SIGTERM)
  • error
errors.Is(interrupter.Err(), breaker.SignalTrapped)
// SignalTrapped Error = "signal trapped"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions