interface RelayCache {
    buffer(keys): Promise<string[]>;
    bulkSet(objs): Promise<void>;
    getFromCache(pubkey?): undefined | UsersRelays;
    update(obj): Promise<"new" | "updated" | "refresh" | "no_change">;
}

Methods

  • Parameters

    • keys: string[]

    Returns Promise<string[]>

  • Parameters

    Returns Promise<void>

  • Parameters

    • Optional pubkey: string

    Returns undefined | UsersRelays

  • Parameters

    Returns Promise<"new" | "updated" | "refresh" | "no_change">

Generated using TypeDoc