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

This commit is contained in:
Julien Valverdé
2025-10-30 12:23:19 +01:00
parent 95f53b8a00
commit 993e97676f

View File

@@ -153,7 +153,9 @@ export const submit = <A, I, R, SA, SE, SR>(
): Effect.Effect<Option.Option<Result.Result<SA, SE>>, NoSuchElementException, Scope.Scope | SR> => Effect.whenEffect( ): Effect.Effect<Option.Option<Result.Result<SA, SE>>, NoSuchElementException, Scope.Scope | SR> => Effect.whenEffect(
self.valueRef.pipe( self.valueRef.pipe(
Effect.andThen(identity), Effect.andThen(identity),
Effect.andThen(flow(self.onSubmit, Result.forkEffectScoped)), Effect.andThen(value => Result.forkEffectScoped(
self.onSubmit(value) as Effect.Effect<SA, SE, Result.forkEffectScoped.InputContext<SR, never>>)
),
Effect.andThen(Stream.fromQueue), Effect.andThen(Stream.fromQueue),
Stream.unwrap, Stream.unwrap,
Stream.runFoldEffect( Stream.runFoldEffect(