design_patterns-pool_repool

Official

Enforce safe object pooling with repool.

Authoramarbel-llc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Dodder's pooling pattern enforces a mandatory borrow-return lifecycle, ensuring that every pooled element is paired with a repool closure that must be invoked exactly once to release the resource, preventing leaks and inconsistent states.

Core Features & Use Cases

  • Deterministic lifecycle: each pool GetWithRepool returns an element and a repool function to be called when finished.
  • Enforcement layers: static analysis, runtime debug poisoning, and lint checks guard proper repool usage.
  • Flexibility: supports cloning pooled objects via CloneTransacted and safe reuse across concurrent tasks.

Quick Start

Obtain an element with GetWithRepool and ensure repool is invoked (e.g., via defer) to release the resource.

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: design_patterns-pool_repool
Download link: https://github.com/amarbel-llc/dodder/archive/main.zip#design-patterns-pool-repool

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.