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

Function layer

packages/sql/libsql/src/LibsqlMigrator.ts:44–46  ·  view source on GitHub ↗
(
  options: Migrator.MigratorOptions<R>
)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

runFunction · 0.50

Tested by

no test coverage detected