Commit Graph

104 Commits

Author SHA1 Message Date
Asher Gomez
1b2b9aff0c
chore(async): release async@1.0.0-rc.1 (#5035) 2024-06-15 18:58:49 +12:00
Yoshiya Hinosawa
3a930850c3
BREAKING(async): stop exporting ERROR_WHILE_MAPPING_MESSAGE (#5041) 2024-06-14 19:15:35 +09:00
Yoshiya Hinosawa
b3be4c96cd
chore(async): mark Tuple and TupleOf as @internal (#5042) 2024-06-14 19:15:05 +09:00
Yoshiya Hinosawa
d3f31b4a46
docs(async): improve module docs (#5039) 2024-06-14 19:14:32 +09:00
Yoshiya Hinosawa
df27fe8ad0
docs(async): avoid memory leak in example (#5040) 2024-06-14 19:13:44 +09:00
denobot
0ea4868542
chore: release 2024.06.06 (#4984)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-06 20:26:57 +09:00
Asher Gomez
da7b395d37
refactor(async): cleanup use of @std/assert (#4950)
* refactor(async): cleanup use of `@std/assert`

* graph
2024-06-05 01:13:11 +00:00
Asher Gomez
31b906db99
chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
denobot
51dc36d563
chore: release 2024.05.22 (#4830)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-22 19:57:28 +09:00
Asher Gomez
67ca078107
chore: add @example title check to doc checker (#4823)
* chore: add `@example` title check to doc checker

* fix
2024-05-22 15:08:36 +10:00
Leo Kettmeir
e3f63dc2ef
docs(async): improve docs for stabilization (#4803) 2024-05-21 17:40:43 -07:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Michael Herzner
61183bcbcc
test(async): improve test coverage (#4567) 2024-04-12 07:23:54 +10:00
Asher Gomez
46d9fa594c
chore: update browser-compatible files with declaration (#4560) 2024-04-10 12:43:44 +10:00
Asher Gomez
09a04d8056
docs(async): add module example (#4465) 2024-03-11 20:31:11 +11:00
Asher Gomez
02213b97b0
chore(async): add missing code snippet tags (#4432) 2024-03-04 18:17:24 +11:00
David Sherret
ef6b95f0c7
refactor: make the code work under verbatimModuleSyntax (#4406)
* Start

* Update

* Format

* Revert deno.json change

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-27 21:57:25 +00:00
Hajime-san
897b86d99c
docs(async): use Array.fromAsync() in debounce() example (#4283)
* docs(async): `debounce` example replace with `Array.fromAsync`

* Update async/debounce.ts

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-07 16:04:31 +11:00
Asher Gomez
845a6f8d97
refactor: use granular --unstable-* CLI flags (#4232)
* refactor: use granular `--unstable-*` CLI flags

* tweak
2024-01-25 07:48:48 +11:00
Tatsuya Kyushima
8098813154
docs(async): fix doc of retry.ts (#4130) 2024-01-08 22:34:09 +09:00
Simon Holloway
8eb433b5d3
refactor(async): prepare for noUncheckedIndexedAccess (#4118)
* refactor(async): prepare for noUncheckedIndexedAccess

* revert(data_structures): the data_structures refactor since its not in scope for this PR
2024-01-06 08:36:10 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Tim Reichen
83fe26f36d
refactor(async): format test names (#3985)
* initial commit

* Update async/pool_test.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* update test names

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-19 09:29:13 +11:00
Simon Holloway
f712403cb1
feat(testing): enable the using keyword on FakeTime() (#3961)
* feat(testing): enable the "using" keyword on FakeTime

* chore(testing): update all tests with using FakeTime

* chore(testing): formatting fix
2023-12-15 07:47:50 +11:00
YieldRay
bcc6f3b679
perf(async): remove event listener ASAP in abortablePromise() and abortableAsyncIterable() (#3909)
perf(async): improve abortablePromise() and abortableAsyncIterable()
2023-12-08 08:36:52 +11:00
Asher Gomez
fb40a35b13
chore(async): exponentialBackoffWithJitter() tweaks (#3891) 2023-12-04 15:42:01 +11:00
Asher Gomez
e9b2ea321a
chore(async): complete documentation (#3887)
* chore(async): complete documentation

* Update mux_async_iterator.ts

Co-authored-by: Luca Casonato <hello@lcas.dev>

* Update mux_async_iterator.ts

Co-authored-by: Luca Casonato <hello@lcas.dev>

* Update mux_async_iterator.ts

Co-authored-by: Luca Casonato <hello@lcas.dev>

* tweaks

---------

Co-authored-by: Luca Casonato <hello@lcas.dev>
2023-12-01 13:19:22 +11:00
Asher Gomez
d7f3d8cc2c
BREAKING(async): remove deprecated deferred() (#3852) 2023-11-24 19:11:32 +11:00
Asher Gomez
56e2bc10e0
chore: use Array.fromAsync() where possible (#3788) 2023-11-11 06:00:28 +11:00
Asher Gomez
88477d1117
refactor: remove use of deferred() (#3786)
* refactor: remove use of `deferred()`

* fix

* fix
2023-11-10 14:31:16 +11:00
Lino Le Van
7e6a91f012
BREAKING(async): deprecate deferred() in favor of Promise.withResolvers() (#3758)
* BREAKING(async): Deprecate deferred in favor of Promise.withResolvers

* address luca's comment

* Apply suggestions from code review

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Apply suggestions from code review

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Apply suggestions from code review

* correction

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-10 11:29:11 +11:00
Lino Le Van
a3ddd3546b
chore(async): remove _exponentialBackoffWithJitter from public file (#3720) 2023-10-25 14:06:35 +09:00
Yoshiya Hinosawa
dcae889194
chore(async): remove unused file (#3592) 2023-09-01 16:40:10 +09:00
Lino Le Van
2b5d71224f
refactor: cleanup usage of double equals (#3566)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-08-25 18:04:43 +09:00
Jesse Jackson
82c63fc1f6
fix(async/delay): reject with existing AbortSignal reason (#3479) 2023-07-14 14:03:05 +09:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
Martin Fischer
a5b1d80736
chore: fix typos (#3458)
The typos were found with the typos[1] spell checker.  That spell
checker will be incorporated into the CI in a followup PR.

[1]: https://github.com/crate-ci/typos
2023-06-22 01:27:37 +09:00
Bodo Graumann
3a17ebde3c
docs(async/retry): consistently talk about attempts (#3434) 2023-06-10 19:01:46 +09:00
Bodo Graumann
edf2e5498f
feat(async/retry): introduce jitter option and fix retry bugs (#3427) 2023-06-07 19:46:00 +09:00
lionel-rowe
9daac3277a
feat(async): add jitter to retry exponential backoff (#3379) 2023-05-20 21:14:18 +09:00
Λlisue (Ali sue・ありすえ)
264c7144b1
feat(async): support signal on deadline() (#3347) 2023-05-02 15:04:26 +09:00
Jesse Jackson
c5dbe0747b
feat(async/pool): use browser compatible APIs (#3350)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-05-02 14:48:33 +09:00
Asher Gomez
cf14c9b212
chore(tools): improved web-compatibility checks (#3263) 2023-03-18 21:36:00 +09:00
Kenta Moriuchi
74fd287286
docs(async): add note to deadline (#3148) 2023-02-03 12:30:37 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Lino Le Van
13a38ecc20
feat(async): retry (#2929) 2022-11-30 13:45:25 -05:00
Leo Kettmeir
aba5017d43
docs: reorganize docs (#2658) 2022-11-25 12:40:23 +01:00
ayame113
e6189c08e9
docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
Asher Gomez
27d470532e
fix(async): restore delay browser compatibility (#2625) 2022-09-07 20:19:59 +09:00
Asher Gomez
e0e851053a
chore: remove _deno_unstable.ts (#2600) 2022-09-05 13:55:53 +09:00