diff --git a/lib/wrapper.js b/lib/wrapper.js index 1197247..d5581de 100644 --- a/lib/wrapper.js +++ b/lib/wrapper.js @@ -159,7 +159,10 @@ module.exports = () => { ee[1] = cb1; context = c.init(boundEE0,boundEE1,boundSet,boundGet); }, - execute: (ctx, lifemit, triemit, info, chunk) => { + execute: (ctx, cb0, cb1, info, chunk) => { + boundInfo = info; + ee[0] = cb0; + ee[1] = cb1; c.execute(ctx,boundEE0,boundEE1,boundSet,boundGet,chunk.toString()); }, setTrigger: (ctx, triggerString) => {