Member Junction
    Preparing search index...

    Something the wrapped component did that the channel should know about: a user's move, a selection, a state change worth telling the model about. Return these from AngularComponentChannel.SurfaceEvents.

    interface ChannelSurfaceEvent {
        Author?: RealtimeChannelActor | "system";
        Name: string;
        Payload?: JSONObject;
        Perceive?: boolean;
    }
    Index

    Properties

    Author?: RealtimeChannelActor | "system"

    Who caused it. Default 'user', except that an event emitted while the adapter is running an agent's verb is attributed to the agent (the component echoes the agent's own move through the same outputs the user's use).

    Name: string

    The event's name; declare it in the descriptor's Events so the agent knows it exists.

    Payload?: JSONObject

    The event's payload (JSON).

    Perceive?: boolean

    Set false for an event observers should see but the model should not be told about. Default true.