1 | (function (_$cont) {
|
2 | try {
|
3 | throw new Error('my error');
|
4 | } catch (err) {
|
5 | setTimeout(function () {
|
6 | console.log(err);
|
7 | _$cont();
|
8 | }, 1000);
|
9 | return;
|
10 | }
|
11 | _$cont();
|
12 | }(function () {
|
13 | console.log('Done');
|
14 | }));
|
15 | /* Generated by Continuation.js v0.1.1 */ |
\ | No newline at end of file |