@suluk/nano-stores - v0.1.3
    Preparing search index...

    Function asyncHandler

    • Wrap an async (or sync) handler with auto-disable + aria-busy + optional pending label + re-entry guard. Returns the wrapped handler — attach it yourself (composes with addEventListener / onClick).

      Type Parameters

      • E = unknown

      Parameters

      Returns (e: E) => Promise<void>