effect-resources-scope

Community

Safe resource handling with acquireRelease.

Authormepuka
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Resource safety with acquireRelease, Effect.scoped, and finalizers. Use when opening files, sockets, servers, or external handles.

Core Features & Use Cases

  • Acquire/Release: safe acquisition and cleanup
  • Scoped: local resource lifecycles
  • Finalizers: guaranteed cleanup actions
  • Real-world snippet: wrap Promise APIs with typed errors and spans

Quick Start

Use acquireRelease to open a resource and ensure it is closed after use. Wrap the usage in a scoped block to guarantee cleanup even on interruption.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: effect-resources-scope
Download link: https://github.com/mepuka/adjunct/archive/main.zip#effect-resources-scope

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository