Dead Promise1 멈춘 Promise 디버깅 하기 소스 초반에.. import * as uuids from 'uuid'; const promiseMap: Map = new Map(); const OrigPromise: PromiseConstructor = global.Promise as PromiseConstructor; function arrayArguments(input: IArguments): any[] { const arr = []; for(let i=0; i { const uuid = uuids.v4(); promiseMap.set(uuid, { uuid, stack }); func(function() { promiseMap.delete(uuid); resolve.call(null, ...arrayAr.. 2020. 4. 27. 이전 1 다음 반응형