Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SubscriptionItem

Represents an item to be subscribed or unsubscribed.

Hierarchy

  • SubscriptionItem

Index

Properties

eventType

eventType: CommunicationEventType

handler

handler: (msg: Libp2p.SubMessage) => void

Type declaration

    • (msg: Libp2p.SubMessage): void
    • Parameters

      • msg: Libp2p.SubMessage

      Returns void

shouldDecodeData

shouldDecodeData: boolean

topic

topic: string

Generated using TypeDoc