Skip to content
HomePagesHomePages template kit

takeCaptureHold

Take one capture hold.

Take one capture hold. The returned release is idempotent; the hold leaves the registry the moment it is released, so a capturer counting open holds for a diagnostic sees only what is still owed.

Import from @homepages/template-kit/island-runtime.

function takeCaptureHold(): () => void

() => void