MCPcopy Index your code
hub / github.com/Effect-TS/effect / layer

Function layer

packages/sql-sqlite-node/src/SqliteMigrator.ts:84–90  ·  view source on GitHub ↗
(
  options: Migrator.MigratorOptions<R>
)

Source from the content-addressed store, hash-verified

82 * @since 1.0.0
83 */
84export const layer = <R>(
85 options: Migrator.MigratorOptions<R>
86): Layer.Layer<
87 never,
88 SqlError | Migrator.MigrationError,
89 SqliteClient | Client.SqlClient | CommandExecutor | FileSystem | Path | R
90> => Layer.effectDiscard(run(options))

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected