Asynchronous flow control library