import { concreteScope } from "@effect/core/io/Scope/operations/_internal/ScopeInternal" /** * Forks a new scope that is a child of this scope. The child scope will * automatically be closed when this scope is closed. * * @tsplus getter effect/core/io/Scope fork * @tsplus getter effect/core/io/Scope/Closeable fork */ export function fork(self: Scope): Effect { concreteScope(self) return self._fork }