Table of Contents
Built-in error types
AggregateError()
CancellationError()
OperationalError()
TimeoutError()
Cancellation
.cancel()
Collections
.all()
.any()
.each()
.filter()
.map()
.mapSeries()
.props()
.reduce()
.some()
Promise.all()
Promise.any()
Promise.each()
Promise.filter()
Promise.map()
Promise.mapSeries()
Promise.props()
Promise.race()
Promise.reduce()
Promise.some()
Configuration
.done()
.suppressUnhandledRejections()
Async hooks
Promise.onPossiblyUnhandledRejection()
Promise.onUnhandledRejectionHandled()
Core
.bind()
.catch()
.error()
.finally()
.spread()
.then()
Core
new Promise()
Promise.bind()
Promise.join()
Promise.method()
Promise.reject()
Promise.resolve()
Promise.try()
Generators
Promise.coroutine()
Promise.coroutine.addYieldHandler()
Guides
Anti-patterns
Async Dialogs
Beginner's Guide
Benchmarks
Changelog
Coming from Other Languages
Coming from Other Libraries
Deprecated APIs
Error Explanations
Features
Getting Started
Installation
New in bluebird 3.0
Warning Explanations
What About Generators?
Why bluebird?
Why Performance?
Why Promises?
Working with Callbacks
Promisification
.asCallback()
Promise.fromCallback()
Promise.promisify()
Promise.promisifyAll()
Resource management
.disposer()
Promise.using()
Synchronous inspection
.isCancelled()
.isFulfilled()
.isPending()
.isRejected()
.reason()
.value()
PromiseInspection
Timers
.delay()
.timeout()
Promise.delay()
Utility
.call()
.catchReturn()
.catchThrow()
.get()
.reflect()
.return()
.tap()
.tapCatch()
.throw()
Promise.getNewLibraryCopy()
Promise.noConflict()
Promise.setScheduler()
中文
English
A
A
Serif
Sans
White
Sepia
Night
首页
API Docs
工具
首页
API Docs
工具
bluebird
/
3.7.2
/
api
/
timers.html
/
Timers
Please enable JavaScript to view the
comments powered by Disqus.
© 2013–2018 Petka Antonov
Licensed under the MIT License.
http://bluebirdjs.com/docs/api/timers.html
Name
Bluebird
Version
3.7.2
Badge
Last Updated
2020-11-19T09:51:32Z
×
Copy badge
brightgreen
green
yellowgreen
yellow
orange
red
lightgrey
blue
Markdown
AsciiDoc
Make Badge
Link