import type { Scope } from "@effect/core/io/Scope/definition" import { CloseableScopeSym, ScopeSym } from "@effect/core/io/Scope/definition" export class CloseableScopeInternal implements Scope.Closeable { readonly [ScopeSym]: ScopeSym = ScopeSym readonly [CloseableScopeSym]: CloseableScopeSym = CloseableScopeSym constructor( readonly _fork: Effect, readonly _addFinalizerExit: (finalizer: Scope.Finalizer) => Effect, readonly _close: (exit: Exit) => Effect ) {} } /** * @tsplus macro remove */ export function concreteCloseableScope(_: Scope): asserts _ is CloseableScopeInternal { // }