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.
Signature
Section titled “Signature”function takeCaptureHold(): () => voidReturns
Section titled “Returns”() => void