Function streamContentTopic

  • Creates a subscription and streams all new messages for a content topic. Will create a light node configured for the content topic with default settings if a node is not provided in opts. Assumes node is using autosharding.


    • contentTopic: string
    • opts: CreateTopicOptions

    Returns Promise<[ReadableStream<DecodedMessage>, LightNode]>

Generated using TypeDoc