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

    Interface Link

    A link a node publishes its readings over: a LoopbackTransport, an MqttClient, a CoapClient, a Ladder, or anything else with the same send. Connect it first.

    interface Link {
        send(
            topic: string,
            payload: string | Buffer<ArrayBufferLike>,
        ): Promise<unknown>;
    }

    Hierarchy (View Summary)

    Index
    • Publishes one message to a topic.

      Parameters

      • topic: string
      • payload: string | Buffer<ArrayBufferLike>

      Returns Promise<unknown>