"use strict";(function(){var e=0;var n=0;"use strict";var r=require("fibers");exports.synExecCmd=function(e,n,t,o){var c=r.current;var u=null;var i=setTimeout(function(){try{u=-1;c.run()}catch(e){console.warn(e)}},10*60*1e3);e.execCmd(n,t,function(e,n){clearTimeout(i);u=e;try{c.run()}catch(r){console.warn(r)}},o);r.yield();return u};function t(e){var n=r.current;setTimeout(function(){n.run()},e);r.yield()}exports.sleep=t;if(n){r(function(){console.log("wait... "+new Date);t(1e3);console.log("ok... "+new Date)}).run();console.log("back in main")}})();