go-events
go-events copied to clipboard
Add error handling sinks
Add error handling sinks that allow to react to further sinks errors by either droping the errors or closing the sink.
They are useful to combine with other sinks such as the one provided in #27 to close the event pipeline once a ErrSinkTimeout occurs.
Tests have not been provided as they are really simple sinks.