MCPcopy Create free account
hub / github.com/Effect-TS/effect / layer

Function layer

packages/sql/sqlite-node/src/SqliteMigrator.ts:95–101  ·  view source on GitHub ↗
(
  options: Migrator.MigratorOptions<R>
)

Source from the content-addressed store, hash-verified

93 * @since 4.0.0
94 */
95export const layer = <R>(
96 options: Migrator.MigratorOptions<R>
97): Layer.Layer<
98 never,
99 Migrator.MigrationError | SqlError,
100 Client.SqlClient | R
101> => Layer.effectDiscard(run(options))

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected