Skip to content

Latest commit

 

History

History
30 lines (13 loc) · 396 Bytes

README.md

File metadata and controls

30 lines (13 loc) · 396 Bytes

V8-promise

A hand-write promise implementation with simpler logic

main logic only 130 line codes

basic utilities

  • 异步处理的microtask

in browser : use mutationObserver

in Node.js : use process.nextTick

  • 避免enumerate的symbol

use symbol to avoid exposure of inner method

mocha 测试结果

测试通过

copyright

@slashhuang