Commit Graph

10 Commits

Author SHA1 Message Date
Gyubong d7920cae0a
Move the secondary parameters into the options parameter (#29) 2022-07-25 18:16:27 +02:00
Gyubong 1bf6679148
Support `AbortController` (#26)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-05-26 23:57:52 +07:00
Sindre Sorhus 458618efa4 Require Node.js 12 and move to ESM 2021-04-07 00:38:12 +07:00
peja e26f08d43f
Make timeout clearable (#15)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-12-26 17:42:06 +07:00
Sindre Sorhus 3249b2f014 Require Node.js 10 2020-12-01 22:50:36 +07:00
Pedro Augusto de Paula Barbosa 085f437e49
Add `customTimers` option (#17)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-12-01 22:40:53 +07:00
Sindre Sorhus a233d8cd1d Add support for passing in Infinity as `milliseconds`
Fixes #14
2019-09-17 22:09:28 +07:00
Dimitri Benin 695a09c4be Refactor TypeScript definition to CommonJS compatible export (#11) 2019-04-04 11:58:41 +07:00
Sindre Sorhus 0333387584 Meta tweaks 2019-03-12 15:21:47 +07:00
Dimitri Benin 9a429bc248 Require Node.js 8, add TypeScript definition (#10) 2019-03-12 15:17:11 +07:00