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

This commit is contained in:
Julien Valverdé
2026-05-04 02:01:02 +02:00
parent a1551bb480
commit 1655d55208

View File

@@ -133,7 +133,10 @@ extends Pipeable.Class() implements SubmittableForm<A, I, R, MA, ME, MR, MP> {
get run(): Effect.Effect<void, never, never> { get run(): Effect.Effect<void, never, never> {
return Lens.get(this.encodedValue).pipe( return Lens.get(this.encodedValue).pipe(
Effect.flatMap(v => this.synchronizeEncodedValue(v)), Effect.flatMap(v => Schema.decode(this.schema)(v)),
Effect.option,
Effect.flatMap(v => Lens.set(this.value, v)),
Effect.provide(this.context),
this.runSemaphore.withPermits(1), this.runSemaphore.withPermits(1),
) )
} }