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

Function layer

packages/sql/pglite/src/PgliteMigrator.ts:42–44  ·  view source on GitHub ↗
(
  options: Migrator.MigratorOptions<R>
)

Source from the content-addressed store, hash-verified

40 * @since 4.0.0
41 */
42export const layer = <R>(
43 options: Migrator.MigratorOptions<R>
44): 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