susamn / rio

A lightweight job scheduler based on priority queue with timeout, retry, replica, context cancellation and easy semantics for job chaining. Build for golang web apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The BridgeConnection type has to be a struct with error

susamn opened this issue · comments

Currently, the BridgeConnection type is like this:

type BridgeConnection chan interface{}

It would have to be
type BridgeConnection struct{ Data chan interface{} Error error }

It will help in managing the errors well between chained tasks