let isAsync=value=>{try{var type=Object.prototype.toString.call(value);return"[object Async]"===type||"[object AsyncAsync]"===type||"[object AsyncFunction]"===type||"[object Generator]"===type||"[object AsyncGenerator]"===type||"[object Promise]"===type||"AsyncFunction"===value?.constructor?.name}catch{return!1}};exports.isAsync=isAsync;