chore: generate
This commit is contained in:
@@ -186,7 +186,8 @@ yield* prompt.cancel(chat.id)
|
|||||||
|
|
||||||
// Fix — wait for a published readiness signal
|
// Fix — wait for a published readiness signal
|
||||||
yield * prompt.shell({ command: "sleep 30" }).pipe(Effect.forkChild)
|
yield * prompt.shell({ command: "sleep 30" }).pipe(Effect.forkChild)
|
||||||
yield* pollWithTimeout(
|
yield *
|
||||||
|
pollWithTimeout(
|
||||||
Effect.gen(function* () {
|
Effect.gen(function* () {
|
||||||
const s = yield* (yield* SessionStatus.Service).get(chat.id)
|
const s = yield* (yield* SessionStatus.Service).get(chat.id)
|
||||||
return s.type === "busy" ? (true as const) : undefined
|
return s.type === "busy" ? (true as const) : undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user