Skip to content

Entry

delay

Appears in 5 awesome lists

Delay a promise a specified amount of time.

Open github.comsindresorhus/delay

Found in these lists

Awesome AVA

Section: Works with AVA · Add delays to your tests. (Example)

StaleScore 46

Awesome Nodejs

Section: Control flow · Delay a promise a specified amount of time.

FreshScore 90

Awesome Promises

Section: sindresorhus's many Promise utilities (see notes) · Delay a promise a specified amount of time.

StaleScore 51

Awesome Nodejs

Section: 流程控制 · 将 Promise 延迟指定的时间。

StaleScore 51

promise-fun

Section: Packages · Delay a promise a specified amount of time

StaleScore 51

pify

Promisify callback-style functions for better testing. (Example)

In 6 listsDetails

More…

@sindresorhus's notes, patterns, and solutions to common Promise problems

In 2 listsDetails

execa

Cross-platform implementation of child_process.{execFile,exec}.

In 5 listsDetails

p-map

Map over promises concurrently.

In 4 listsDetails

RxJS

Functional reactive library for transforming, composing, and querying various kinds of data.

In 4 listsDetails

More…

An Observable is a collection that arrives over time.

In 2 listsDetails

observable-to-promise

Convert an Observable to a Promise.

In 3 lists

get-stream

Test the output of streams. (Example)

In 3 lists