rename Context to ServiceMap (#216)

This commit is contained in:
Tim
2025-07-03 23:53:39 +12:00
committed by GitHub
parent 5d97a4d179
commit d14e0c4c3e
57 changed files with 1231 additions and 1420 deletions
@@ -1,7 +1,6 @@
/**
* @since 1.0.0
*/
import type * as Context from "effect/Context"
import * as Effect from "effect/Effect"
import { effectify } from "effect/Effect"
import * as Exit from "effect/Exit"
@@ -570,7 +569,7 @@ const watchNode = (path: string) =>
)
)
const watch = (backend: Option.Option<Context.Tag.Service<FileSystem.WatchBackend>>, path: string) =>
const watch = (backend: Option.Option<FileSystem.WatchBackend["Service"]>, path: string) =>
stat(path).pipe(
Effect.map((stat) =>
backend.pipe(