@espressif/rainmaker-base-cdf
    Preparing search index...
    Index

    Constructors

    Properties

    nodeUpdates: { listen: (event: any) => void } = ...
    transport: {
        listen: (
            __namedParameters: {
                nodeId: string;
                transportDetails: ESPTransportConfig;
            },
        ) => void;
    } = ...

    Transport module to handle transport-related operations.

    Type Declaration

    • listen: (
          __namedParameters: {
              nodeId: string;
              transportDetails: ESPTransportConfig;
          },
      ) => void

      Listens for transport details and updates the device store.

    Methods

    • Subscribes all listeners to the user store's user instance.

      Returns Promise<void>

      GPT Context: This method subscribes all listeners to the user store's user instance for the specified event type. It ensures that the transport's listen method is called whenever the specified event type occurs.