异步编程和同步编程

异步编程的几种方法

  • 回调函数

  • 事件监听

  • 发布订阅

  • promise

  • setTimeout/setInterval等

Last updated

Was this helpful?