UNPKG

rx-nostr

Version:

A library based on RxJS, which allows Nostr applications to easily communicate with relays.

13 lines 410 B
export declare class UrlMap<T> extends Map<string, T> { constructor(obj?: Record<string, T>); get(url: string): T | undefined; getMany(urls: string[]): T[]; set(url: string, v: T): this; has(url: string): boolean; delete(url: string): boolean; toObject(): Record<string, T>; toKeys(): string[]; toValues(): T[]; copy(): UrlMap<T>; } //# sourceMappingURL=url-map.d.ts.map