Function#bind for generator functions. Supports all the same features as native .bind().
$ npm install co-bind --save
const bind = require('co-bind');
function * test () {
}
let newTest = bind(test, context, 'hello', 'world'); // bind (fn, context[, arg1[, arg2[, ...]]])
$ npm test
WTFPL.