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