• Given an array of content topics, groups them together by their Pubsub topic as derived using the algorithm for autosharding. If any of the content topics are not properly formatted, the function will throw an error.

    Parameters

    • contentTopics: string[]
    • Optional clusterId: number
    • Optional networkShards: number

    Returns Map<string, string[]>

Generated using TypeDoc