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

Function layer

packages/sql-mysql2/src/MysqlMigrator.ts:104–110  ·  view source on GitHub ↗
(
  options: Migrator.MigratorOptions<R>
)

Source from the content-addressed store, hash-verified

102 * @since 1.0.0
103 */
104export const layer = <R>(
105 options: Migrator.MigratorOptions<R>
106): Layer.Layer<
107 never,
108 Migrator.MigrationError | SqlError,
109 MysqlClient | Client.SqlClient | CommandExecutor | FileSystem | Path | R
110> => Layer.effectDiscard(run(options))

Callers

nothing calls this directly

Calls 1

runFunction · 0.50

Tested by

no test coverage detected