update effect to 4.0.0-beta.42 (#19484)
This commit is contained in:
@@ -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"),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user