Function
layer
(
config: SqliteClientConfig
)
Source from the content-addressed store, hash-verified
| 251 | Config.unwrap(config).pipe( |
| 252 | Effect.flatMap(make), |
| 253 | Effect.map((client) => |
| 254 | Context.make(SqliteClient, client).pipe( |
| 255 | Context.add(Client.SqlClient, client) |
| 256 | ) |
| 257 | ) |
| 258 | ) |
| 259 | ).pipe(Layer.provide(Reactivity.layer)) |
| 260 | |
| 261 | /** |
| 262 | * Builds a layer from a React Native SQLite client configuration, providing both `SqliteClient` and the generic `SqlClient` service. |
| 263 | * |
| 264 | * @category layers |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…