MCPcopy Create free account
hub / github.com/anomalyco/opencode / close

Function close

packages/core/src/integration.ts:314–315  ·  view source on GitHub ↗
(attemptScope: Scope.Closeable)

Source from the content-addressed store, hash-verified

312 effect.pipe(Effect.mapError((cause) => new AuthorizationError({ cause })))
313
314 const close = (attemptScope: Scope.Closeable) =>
315 Scope.close(attemptScope, Exit.void).pipe(Effect.forkIn(scope, { startImmediately: true }), Effect.asVoid)
316
317 const message = (cause: Cause.Cause<unknown>) => {
318 const error = Cause.squash(cause)

Callers 1

integration.tsFile · 0.70

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected