Fix
All checks were successful
Lint / lint (push) Successful in 14s

This commit is contained in:
Julien Valverdé
2025-03-21 04:55:38 +01:00
parent 4cf70ada0b
commit 224ccd8e32

View File

@@ -133,7 +133,7 @@ export const make = <EH, K extends readonly unknown[], A, E, HandledE, R>(
) )
const fetchOnKeyChange = Effect.addFinalizer(() => interrupt).pipe( const fetchOnKeyChange = Effect.addFinalizer(() => interrupt).pipe(
Effect.andThen(Stream.runForEach(key, latestKey => Effect.andThen(Stream.runForEach(Stream.changes(key), latestKey =>
Ref.set(latestKeyRef, Option.some(latestKey)).pipe( Ref.set(latestKeyRef, Option.some(latestKey)).pipe(
Effect.andThen(forkFetch) Effect.andThen(forkFetch)
) )