function testContext(_, x) { var y; var __frame = { name: "testContext", line: 394 }; return __func(_, this, arguments, testContext, 0, __frame, function __$testContext() {
      flows.setContext({
        val: x });

      return delay(__cb(_, __frame, 4, 10, function ___(__0, __1) { y = __1;
        strictEqual(y, (2 * flows.getContext().val));
        return _(null, (y + 1)); }, true), (2 * x)); }); }; var __frame = { name: "__14", line: 393 }; return __func(_, this, arguments, __14, 0, __frame, function __$__14() {
Exemple #2
0
 function testContext(_, x) { if (!_) { return __future(testContext, arguments, 0); } ; var y;
 flows.setContext({
 val: x });

 return delay(__cb(_, function(__0, __1) { y = __1;
 strictEqual(y, (2 * flows.getContext().val));
 return _(null, (y + 1)); }), (2 * x)); };
 function testContext(_, x) { var y; var __frame = { name: 'testContext', line: 397 }; return __func(_, this, arguments, testContext, 0, __frame, function __$testContext() { 
         flows.setContext({ val: x }); 
         
         
         return delay(__cb(_, __frame, 4, 0, function ___(__0, __1) { y = __1; 
             strictEqual(y, 2 * flows.getContext().val); 
             return _(null, y + 1); }, true, false), 2 * x); }); } var __frame = { name: '__14', line: 396 }; return __func(_, this, arguments, __14, 0, __frame, function __$__14() { 
	function* testContext(_, x) {
		flows.setContext({
			val: x
		});
		var y = (yield delay(_, 2 * x));
		strictEqual(y, 2 * flows.getContext().val);
		return y + 1;
	}