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

Function layer

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

Source from the content-addressed store, hash-verified

55 * @since 4.0.0
56 */
57export const layer = <R>(
58 options: Migrator.MigratorOptions<R>
59): 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