MCPcopy Index your code
hub / github.com/Effect-TS/effect / layer

Function layer

packages/sql-clickhouse/src/ClickhouseMigrator.ts:36–42  ·  view source on GitHub ↗
(
  options: Migrator.MigratorOptions<R>
)

Source from the content-addressed store, hash-verified

34 * @since 1.0.0
35 */
36export const layer = <R>(
37 options: Migrator.MigratorOptions<R>
38): Layer.Layer<
39 never,
40 Migrator.MigrationError | SqlError,
41 Client.SqlClient | R
42> => Layer.effectDiscard(run(options))

Callers

nothing calls this directly

Calls 1

runFunction · 0.50

Tested by

no test coverage detected