pair of functions to multiplex messages in a user-specified way

Hierarchy

  • MessageWrapper

Methods

Methods

  • tests if a user-multiplied message is for this library and if so, returns the demultiplexed message

    Parameters

    • data: unknown

    Returns undefined | {
        unwrapped: unknown;
    }

Generated using TypeDoc