Applesauce
    Preparing search index...

    Base class for pubkey-based casts (analogous to EventCast for events)

    Hierarchy (View Summary)

    Index
    cache: Map<string, WeakRef<Casts.PubkeyCast>>

    A global cache of pubkey -> weak instance reference, populated by castPubkey

    cacheRegistry?: FinalizationRegistry<string>

    Cleans up dead cache entries when their instances are garbage collected

    • get pubkey(): string

      The hex pubkey represented by this cast

      Returns string