Function
layer
(
options: Migrator.MigratorOptions<R>
)
Source from the content-addressed store, hash-verified
| 265 | * @since 4.0.0 |
| 266 | */ |
| 267 | export const layer = <R>( |
| 268 | options: Migrator.MigratorOptions<R> |
| 269 | ): Layer.Layer< |
| 270 | never, |
| 271 | Migrator.MigrationError | SqlError, |
| 272 | | SqlClient |
| 273 | | PgClient |
| 274 | | ChildProcessSpawner.ChildProcessSpawner |
| 275 | | FileSystem.FileSystem |
| 276 | | Path.Path |
| 277 | | R |
| 278 | > => Layer.effectDiscard(run(options)) |
Callers
nothing calls this directly
Tested by
no test coverage detected