Skip to content

Commit 15b6d9e

Browse files
committed
code for a new useSharedAsyncIter hook
1 parent 5cd351e commit 15b6d9e

File tree

8 files changed

+462
-214
lines changed

8 files changed

+462
-214
lines changed

spec/tests/useAsyncIterMemo.spec.ts

Lines changed: 0 additions & 212 deletions
This file was deleted.

spec/tests/useAsyncIterState.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ describe('`useAsyncIterState` hook', () => {
283283

284284
it(
285285
gray(
286-
"The returned iterable's values are each shared between all its parallel consumers so that each will receives all values that will yield from the time it started consuming"
286+
"The returned iterable's values are each shared between all its parallel consumers so that each will receive every value that will yield from the time it started consuming"
287287
),
288288
async () => {
289289
const [values, setValue] = renderHook(() => useAsyncIterState<string>()).result.current;

0 commit comments

Comments
 (0)