go-events icon indicating copy to clipboard operation
go-events copied to clipboard

Add error handling sinks

Open Adirio opened this issue 7 years ago • 0 comments

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.

Adirio avatar May 03 '18 09:05 Adirio