kernl API
    Preparing search index...

    Interface Profiles

    People's profiles, read from the shell's event store and loaded on demand.

    interface Profiles {
        card(pubkey: string): ProfileCard;
        card$(pubkey: string): Observable<ProfileCard>;
        settled(pubkey: string): Promise<ProfileCard>;
    }
    Index
    • The card from what the store already holds, without asking anyone.

      Parameters

      • pubkey: string

      Returns ProfileCard

    • The card now, and again every time a newer profile arrives. Subscribing starts the lookup.

      Parameters

      • pubkey: string

      Returns Observable<ProfileCard>

    • The card once the profile is found, or once the lookup servers have all answered without it; never on a timer.

      Parameters

      • pubkey: string

      Returns Promise<ProfileCard>