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

Function layer

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

Source from the content-addressed store, hash-verified

43 * @since 4.0.0
44 */
45export const layer = <R>(
46 options: Migrator.MigratorOptions<R>
47): Layer.Layer<
48 never,
49 Migrator.MigrationError | SqlError,
50 Client.SqlClient | R
51> => Layer.effectDiscard(run(options))

Callers

nothing calls this directly

Calls 1

runFunction · 0.50

Tested by

no test coverage detected