update effect to 4.0.0-beta.42 (#19484)

This commit is contained in:
Kit Langton 2026-03-27 23:25:05 -04:00 committed by GitHub
parent f736116967
commit 43bc5551e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 9 deletions

View file

@ -336,7 +336,7 @@ export const make = Effect.gen(function* () {
if (Predicate.isUndefined(opts?.forceKillAfter)) return f(command, proc, signal)
return Effect.timeoutOrElse(f(command, proc, signal), {
duration: opts.forceKillAfter,
onTimeout: () => f(command, proc, "SIGKILL"),
orElse: () => f(command, proc, "SIGKILL"),
})
}