( operation: LocalExecutorDisposeError["operation"], try_: () => Promise<unknown>, )
| 118 | "Failed to open local SQLite data. Close other Executor processes and retry, or run with --log-level debug for details."; |
| 119 | |
| 120 | const ignorePromiseFailure = ( |
| 121 | operation: LocalExecutorDisposeError["operation"], |
| 122 | try_: () => Promise<unknown>, |
| 123 | ) => |
| 124 | Effect.runPromise( |
| 125 | Effect.ignore( |
| 126 | Effect.tryPromise({ |
| 127 | try: try_, |
| 128 | catch: (cause) => new LocalExecutorDisposeError({ operation, cause }), |
| 129 | }), |
| 130 | ), |
| 131 | ); |
| 132 | |
| 133 | const handleOrNull = (promise: ReturnType<typeof createExecutorHandle>) => |
| 134 | Effect.runPromise( |
no outgoing calls
no test coverage detected