@openhps/mqtt
    Preparing search index...

    Interface MQTTNodeOptions<S>

    interface MQTTNodeOptions<S extends RemoteService> {
        deserialize?: (obj: any, options?: RemotePushOptions) => DataFrame;
        event?: { response?: boolean; topic: string };
        name?: string;
        pull?: { response?: boolean; topic: string };
        push?: { response?: boolean; topic: string };
        serialize?: (obj: DataFrame, options?: RemotePushOptions) => any;
        service?: Serializable<S>;
        uid?: string;
    }

    Type Parameters

    • S extends RemoteService

    Hierarchy

    • RemoteNodeOptions<S>
      • MQTTNodeOptions
    Index
    deserialize?: (obj: any, options?: RemotePushOptions) => DataFrame
    event?: { response?: boolean; topic: string }
    name?: string

    User friendly name of the node Used for querying a node by its name.

    pull?: { response?: boolean; topic: string }
    push?: { response?: boolean; topic: string }
    serialize?: (obj: DataFrame, options?: RemotePushOptions) => any
    service?: Serializable<S>

    Service to use for the remote note

    RemoteService any remote service
    
    uid?: string

    Manually set the unique identifier of the node