( operation: LocalExecutorDisposeError["operation"], try_: () => Promise<unknown>, )
| 132 | "Failed to open local SQLite data. Close other Executor processes and retry, or run with --log-level debug for details."; |
| 133 | |
| 134 | const ignorePromiseFailure = ( |
| 135 | operation: LocalExecutorDisposeError["operation"], |
| 136 | try_: () => Promise<unknown>, |
| 137 | ) => |
| 138 | Effect.runPromise( |
| 139 | Effect.ignore( |
| 140 | Effect.tryPromise({ |
| 141 | try: try_, |
| 142 | catch: (cause) => new LocalExecutorDisposeError({ operation, cause }), |
| 143 | }), |
| 144 | ), |
| 145 | ); |
| 146 | |
| 147 | const handleOrNull = (promise: ReturnType<typeof createExecutorHandle>) => |
| 148 | Effect.runPromise( |
no outgoing calls
no test coverage detected