bluebird logo bluebird
  • API
  • 文档
  • 支持
  • 安装
  • Github
  • 开始
  • 特性
  • 更新日志
  • API 参考
  • New in 3.0
  • 警告说明
  • 错误说明
  • 贡献
  • Benchmarks
  • 弃用的 API
  • 下载 API 参考

  • Why?
    • Why Promises?
    • Why bluebird?
    • Why Performance?
    • What About Generators?

  • 教程
    • Async Dialogs

  • 指南
    • 初学者指南
    • Anti-patterns
    • 使用回调
    • 来自其他语言
    • 来自其他库

  • Supported by reaktor
编辑此页
更新于 02 Jan 2018

API 参考

  • 核心
    • new Promise
    • .then
    • .spread
    • .catch
    • .error
    • .finally
    • .bind
    • Promise.join
    • Promise.try
    • Promise.method
    • Promise.resolve
    • Promise.reject
  • 同步检查
    • PromiseInspection
    • .isFulfilled
    • .isRejected
    • .isPending
    • .isCancelled
    • .value
    • .reason
  • 集合
    • Promise.all
    • Promise.props
    • Promise.any
    • Promise.some
    • Promise.map
    • Promise.reduce
    • Promise.filter
    • Promise.each
    • Promise.mapSeries
    • Promise.race
    • .all
    • .props
    • .any
    • .some
    • .map
    • .reduce
    • .filter
    • .each
    • .mapSeries
  • 资源管理
    • Promise.using
    • .disposer
  • Promise化
    • Promise.promisify
    • Promise.promisifyAll
    • Promise.fromCallback
    • .asCallback
  • 计时器
    • Promise.delay
    • .delay
    • .timeout
  • 取消
    • .cancel
  • Generators
    • Promise.coroutine
    • Promise.coroutine.addYieldHandler
  • 实用程序
    • .tap
    • .tapCatch
    • .call
    • .get
    • .return
    • .throw
    • .catchReturn
    • .catchThrow
    • .reflect
    • Promise.getNewLibraryCopy
    • Promise.noConflict
    • Promise.setScheduler
  • 内置错误类型
    • OperationalError
    • TimeoutError
    • CancellationError
    • AggregateError
  • 配置
    • Global rejection events
    • Local rejection events
    • Promise.config
    • .suppressUnhandledRejections
    • .done
  • Progression migration
  • Deferred migration
  • 环境变量

本站翻译自 bluebird