pamoja for TypeScript - v0.2.0
    Preparing search index...

    Interface TransportMessage

    A message that arrived on a subscribed topic.

    interface TransportMessage {
        number?: number;
        payload: Buffer;
        text?: string;
        topic: string;
    }
    Index
    number?: number

    The payload as a number, when its text is one, such as 21.5.

    payload: Buffer

    The raw payload bytes.

    text?: string

    The payload as text, when it is UTF-8: words, or a number written out.

    topic: string

    The topic it was published to.