Yoshiya Hinosawa
808fe203e0
chore: update copyright header ( #1871 )
2022-02-02 23:21:39 +09:00
Zheyu Zhang
d417d20876
fix(std/async): fix async/tee concurent .next calls error ( #1425 )
2021-10-20 14:18:58 +09:00
ud2
78752af5e4
fix(async/delay): reject if signal is already aborted ( #1363 )
2021-10-08 13:38:20 +09:00
Nayeem Rahman
159e2aeffc
feat(testing/asserts): add assertThrows() overload to receive error ( #1219 )
2021-09-16 00:35:21 +09:00
Yuki Tanaka
76d8c0159b
chore: wrap examples in fenced code blocks ( #1222 )
2021-09-13 00:14:54 +09:00
Craig Morten
c4600fbd75
docs: correct typos ( #1207 )
2021-09-07 16:40:05 +09:00
Kitson Kelly
b7c61a27a7
chore: updates related to TypeScript 4.4 ( #1171 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-08-31 14:39:04 +10:00
Justin Chase
396445052d
feat(async): add abort signal to delay ( #1130 )
2021-08-17 14:04:21 +09:00
Yasser A.Idrissi
eb69dbd380
feat(testing): add assertRejects, deprecate assertThrowsSync ( #1101 )
2021-08-09 14:59:52 +09:00
迷渡
2edb58be58
fix(async): make it so exception of deadline
can be caught ( #1105 )
2021-08-07 01:13:25 -07:00
Simon Lecoq
5606a10728
fix(testing): change assertThrows
and assertThrowsAsync
return type to void
and Promise<void>
( #1052 )
2021-07-28 14:54:58 +09:00
Yoshiya Hinosawa
186354327c
chore: enable doc type checking ( #1050 )
2021-07-23 19:09:38 +09:00
Yoshiya Hinosawa
bf73521428
fix(async/deferred): rename .status -> .state ( #1055 )
2021-07-22 19:22:51 +09:00
Simon Lecoq
3ea49398a2
feat(async): add status to deferred promises ( #1047 )
2021-07-22 17:28:27 +09:00
Alisue
717e9760c7
feat(async): add deadline
to async module ( #1022 )
2021-07-12 08:44:57 -04:00
Benjamin Fischer
09ce13cb56
feat(async): add debounce method to async module ( #1006 )
...
* feat(async): add debounce method to async module
* docs
* add export to mod.ts
* fmt
* simplify flush method
* use assertStrictEquals
* rename Debounce to DebouncedFunction
* remove default delay
2021-07-10 08:30:34 -04:00
Yoshiya Hinosawa
5c0a0df3ba
feat(async): add async/tee ( #919 )
2021-05-18 22:39:12 +09:00
Yoshiya Hinosawa
81f0675545
feat(async/mux): take AsyncIterable as source iterator ( #923 )
2021-05-18 22:38:53 +09:00
William Perron
69f3d67cb2
chore: remove Promise<void>
return type annotation ( #819 )
...
There's a couple of instances where `Promise<void>` is still there,
those are the exceptions, for example functions that explicitely return
a `Promise` object or functions that return the promise from another
function call without any `await` statement.
used this one-liner to automatically remove everything:
```bash
grep -rli 'promise<void>' | xargs sed -i 's/: Promise<void>//g
```
2021-04-05 07:49:05 -04:00
nurmohammed840
f65be15455
property into method (converted type) ( #778 )
...
Now vscode will infer methods correctly.
2021-03-17 00:41:12 -04:00
Nayeem Rahman
3978c86d66
fix(async): make pooledMap() errors catchable ( denoland/deno#9217 )
2021-02-01 10:46:59 +00:00
Kitson Kelly
9597b333b8
refactor(op_crate/fetch): align streams to spec ( denoland/deno#9103 )
...
Fixes denoland/deno#8814
2021-02-01 10:46:59 +00:00
Ryan Dahl
48a2496dbe
update copyright to 2021 ( denoland/deno#9081 )
2021-02-01 10:46:59 +00:00
Elisée Maurer
15370d35dd
docs(async): fix a couple typos in async/README.md ( denoland/deno#8388 )
2021-02-01 10:46:58 +00:00
Yusuke Tanaka
2d7871bb17
build: update dlint to v0.2.10 ( denoland/deno#8284 )
...
Update prebuilt "dlint" binary to v0.2.10 and fix diagnostics
for "require-await" rule.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-02-01 10:46:58 +00:00
Bartek Iwańczuk
57d903a06b
build: migrate to dlint ( denoland/deno#8176 )
...
This commit migrates repository from using "eslint"
to "dlint" for linting JavaScript code.
2021-02-01 10:46:58 +00:00
Trivikram Kamat
eb1c38cfbf
docs: end sentences with a period in markdown ( denoland/deno#7813 )
2021-02-01 10:46:58 +00:00
KNnut
ed54610ca7
Fix typos ( denoland/deno#7687 )
2021-02-01 10:46:58 +00:00
Andrew Mitchell
184394d40f
docs: add async and signal readme ( denoland/deno#7683 )
...
Resolves denoland/deno#7608
2021-02-01 10:46:58 +00:00
Casper Beyer
831ab8427e
test(async): remove redundant export in test ( denoland/deno#7682 )
2021-02-01 10:46:58 +00:00
Csaba Okrona
435095d188
test: unit test for async/delay ( denoland/deno#7671 )
2021-02-01 10:46:58 +00:00
tokiedokie
d3fa1bbf5d
chore: add copyright ( denoland/deno#7593 )
2021-02-01 10:46:58 +00:00
Casper Beyer
5a34e26c91
test: ensure mod.ts modules have a test coverage ( denoland/deno#7264 )
2021-02-01 10:46:58 +00:00
Luca Casonato
023bfa9c38
feat(async): add pooledMap utility ( denoland/deno#6898 )
2021-02-01 10:46:58 +00:00
David Sherret
1425960509
Use dprint for internal formatting ( denoland/deno#6682 )
2021-02-01 10:46:58 +00:00
Kitson Kelly
595bc0066c
fix: MuxAsyncIterator throws muxed errors ( denoland/deno#6295 )
...
Fixes denoland/deno#5260
2021-02-01 10:46:58 +00:00
Henry Zhuang
eec6ed601e
improve deferred test ( denoland/deno#5459 )
2021-02-01 10:46:57 +00:00
Nayeem Rahman
1eecc5c7d0
BREAKING: reorganization ( denoland/deno#5087 )
...
* Prepend underscores to private modules
* Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result.
* Move _util/async.ts to async
* Move util/sha*.ts to hash
2021-02-01 10:46:57 +00:00