UNPKG

thunkify-wrap

Version:

Turn callbacks, arrays, generators, generator functions, and promises into a thunk

74 lines (47 loc) 1.12 kB
1.0.4 / 2014-11-07 ================== * fix thunkify undefined error 1.0.3 / 2014-10-30 ================== * support 0.10 1.0.2 / 2014-07-31 ================== * is generator function filter 1.0.1 / 2014-07-10 ================== * improve performance 1.0.0 / 2014-07-10 ================== * Merge pull request #1 from node-modules/genify * yield* asyncGen(a, 1) slow 1.5x than yield asyncThunk(a, 1) * genify return GeneratorFunction 0.1.2 / 2014-05-25 ================== * add thunkify(obj, method) * fix travis link 0.1.1 / 2014-03-18 ================== * update thunkify.event, fix unremove listener error 0.1.0 / 2014-03-17 ================== * fix event 0.0.5 / 2014-03-06 ================== * check repeat thunkify 0.0.4 / 2014-03-05 ================== * add event in readme * add test for event * add event support 0.0.3 / 2014-02-28 ================== * support methods * fix test in 0.10 0.0.2 / 2014-02-28 ================== * add example * add ctx, remove thunkify dep * fix test 0.0.1 / 2014-02-17 ================== * complete wrap and test