Flow control with generators based on bluebird