kernl API
    Preparing search index...

    Function namespaceId

    • Prefix a provider-local id with its provider id so it is unique across the composite.

      Parameters

      • providerId: string

        The provider that owns innerId.

      • innerId: string

        The id as the provider knows it. May itself contain :.

      Returns string

      "<providerId>:<innerId>".

      namespaceId('private', 'direct:ab,cd'); // 'private:direct:ab,cd'