首页 > 随笔档案 > Maximum call stack size exceeded using async

Maximum call stack size exceeded using async

Publish:

‘Maximum call stack size exceeded’ using async.eachLimit

I was doing a sync operation. I fixed it by changing from:

callback();
to

setTimeout(callback, 0);

声明: 本文采用 BY-NC-SA 授权。转载请注明转自: levy