MCPcopy Create free account
hub / github.com/effect-app/libs / layerMemory

Function layerMemory

repos/effect/packages/sql/sqlite-wasm/src/SqliteClient.ts:513–521  ·  view source on GitHub ↗
(
  config: SqliteClientMemoryConfig
)

Source from the content-addressed store, hash-verified

511 )
512 )
513 ).pipe(Layer.provide(Reactivity.layer))
514
515/**
516 * Builds a layer from an in-memory SQLite WASM client configuration, providing both `SqliteClient` and the generic `SqlClient` service.
517 *
518 * @category layers
519 * @since 4.0.0
520 */
521export const layerMemory = (
522 config: SqliteClientMemoryConfig
523): Layer.Layer<SqliteClient | Client.SqlClient, SqlError> =>
524 Layer.effectContext(

Callers

nothing calls this directly

Calls 6

makeMemoryFunction · 0.85
pipeMethod · 0.65
mapMethod · 0.65
makeMethod · 0.65
addMethod · 0.65
provideMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…