mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-27 12:03:35 +00:00
chore: generate
This commit is contained in:
parent
fe840d42b8
commit
494123a875
1 changed files with 1 additions and 4 deletions
|
|
@ -35,10 +35,7 @@ export const make = <Key, E>(options: {
|
|||
const start = (key: Key, entry: Entry<E>, force: boolean, successor = false) => {
|
||||
const ready = Deferred.makeUnsafe<void>()
|
||||
const owner = fork(
|
||||
(successor
|
||||
? Effect.yieldNow
|
||||
: Deferred.await(ready)
|
||||
).pipe(
|
||||
(successor ? Effect.yieldNow : Deferred.await(ready)).pipe(
|
||||
Effect.andThen(Effect.suspend(() => options.drain(key, force))),
|
||||
Effect.onExit((exit) => Effect.sync(() => settle(key, entry, exit))),
|
||||
Effect.exit,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue