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

Function layer

packages/sql/sqlite-react-native/src/SqliteMigrator.ts:53–55  ·  view source on GitHub ↗
(
  options: Migrator.MigratorOptions<R>
)

Source from the content-addressed store, hash-verified

51 * @since 4.0.0
52 */
53export const layer = <R>(
54 options: Migrator.MigratorOptions<R>
55): Layer.Layer<never, SqlError | Migrator.MigrationError, R | Client.SqlClient> => Layer.effectDiscard(run(options))

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected