docker / go-events

Composable event distribution for Go
Apache License 2.0
132 stars 23 forks source link

Add timeout sink #27

Open Adirio opened 6 years ago

Adirio commented 6 years ago

Add timeout sink that returns ErrSinkTimeout if the destiny sink does not return in the specified time.

It is based on docker/swarmkit implementation but it does not close the sink when an error occurs. Group together with #26 to achieve this behaviour.