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

Function layer

packages/sql/mssql/src/MssqlMigrator.ts:43–45  ·  view source on GitHub ↗
(
  options: Migrator.MigratorOptions<R>
)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected