Internalapi

The PeerManager provides CRUD functionality for peer entities and persists them to the provided storage.

Type Parameters

Hierarchy

  • PeerManager

Constructors

Properties

storageManager: any

Methods

  • Parameters

    Returns Promise<void>

  • Parameters

    • publicKey: string

    Returns Promise<undefined | ArrayElem<StorageKeyReturnType[T]>>

  • Parameters

    • publicKey: string

    Returns Promise<boolean>

  • Returns Promise<void>

  • Parameters

    • publicKey: string

    Returns Promise<void>

  • Parameters

    • publicKeys: string[]

    Returns Promise<void>

Generated using TypeDoc