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

    Interface MqttWill

    A message the broker publishes on the client's behalf if its connection ends without a disconnect: the network dropped, the power failed, or the keep-alive ran out.

    interface MqttWill {
        payload: string | Buffer<ArrayBufferLike>;
        qos?: Qos;
        retain?: boolean;
        topic: string;
    }
    Index
    payload: string | Buffer<ArrayBufferLike>

    What it publishes; text is sent as UTF-8.

    qos?: Qos

    The quality of service it is published at. Defaults to AtMostOnce.

    retain?: boolean

    Whether the broker retains it for clients that subscribe later.

    topic: string

    The topic the broker publishes it to, with no wildcard.