Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Hierarchy

Index

Methods

registerNodes

  • registerNodes(nodesToRegister: NodeIdLike[]): Promise<NodeId[]>
  • registerNodes(nodesToRegister: NodeIdLike[], callback: (err: Error, registeredNodeIds?: NodeId[]) => void): void
  • Parameters

    Returns Promise<NodeId[]>

  • Parameters

    • nodesToRegister: NodeIdLike[]
    • callback: (err: Error, registeredNodeIds?: NodeId[]) => void
        • (err: Error, registeredNodeIds?: NodeId[]): void
        • Parameters

          • err: Error
          • Optional registeredNodeIds: NodeId[]

          Returns void

    Returns void

unregisterNodes

  • unregisterNodes(nodesToRegister: NodeIdLike[]): Promise<void>
  • unregisterNodes(nodesToRegister: NodeIdLike[], callback: (err?: Error) => void): void
  • Parameters

    Returns Promise<void>

  • Parameters

    • nodesToRegister: NodeIdLike[]
    • callback: (err?: Error) => void
        • (err?: Error): void
        • Parameters

          • Optional err: Error

          Returns void

    Returns void

Generated using TypeDoc