SCION Microfrontend Platform - v1.4.0
    Preparing search index...

    Interface IntentMessage<BODY>

    Represents an intent sent by an application.

    The intent is transported to applications that provide a fulfilling capability visible to the sending application.

    interface IntentMessage<BODY = any> {
        body?: BODY;
        capability: Capability;
        headers: Map<string, any>;
        intent: Intent;
        retain?: boolean;
    }

    Type Parameters

    • BODY = any

    Hierarchy (View Summary)

    Index

    Properties

    body?: BODY

    Optional data passed along with the intent.

    capability: Capability

    Capability that fulfills the intent.

    headers: Map<string, any>

    Additional information attached to this message.

    Header values must be JSON serializable. If no headers are set, the Map is empty.

    intent: Intent

    Intent that represents this message.

    retain?: boolean

    Indicates whether this message is retained on the broker for late subscribers.