co based flow control library