Function generateSubId

  • Generates a subscription ID based on the subscriptions and filter.

    When some of the subscriptions specify a subId, those are used, joining them with a comma.

    If none of the subscriptions specify a subId, a subId is generated by joining all the filter keys, and expanding the kinds with the requested kinds.

    Parameters

    Returns string