openmixer — generated API reference
    Preparing search index...

    Function parseChannelKey

    • Inverse of channelKey: parse a "${kind}/${index}" key back into a ChannelId. Validates the kind and index instead of force-casting the substring, so a malformed key throws at the parse site rather than flowing on as a bogus id.

      Parameters

      • key: string

      Returns ChannelId