(handle: SqliteFumaDb)
| 130 | // is owned by the caller's acquireRelease, so this projection's `close` is a |
| 131 | // no-op to avoid double-closing the connection. |
| 132 | export const localDbProviderLayer = (handle: SqliteFumaDb): Layer.Layer<DbProvider> => |
| 133 | Layer.succeed(DbProvider)({ |
| 134 | db: handle.db, |
| 135 | fuma: handle.fuma, |
| 136 | close: async () => {}, |
| 137 | } satisfies ExecutorDbHandle); |
nothing calls this directly
no outgoing calls
no test coverage detected