Sanity Library Reference Docs
    Preparing search index...

    Metadata that travels with each message bus event.

    interface MessageBusMeta {
        appId: string;
        moduleId?: string;
        timestamp: number;
    }
    Index

    Properties

    appId: string

    The application that produced the message.

    moduleId?: string

    The federation module id of the connection that sent the message (e.g. favorites/views/list/panel). Absent from older copies and when the host supplied none, so readers normalise with message.meta.moduleId ?? message.meta.appId.

    timestamp: number

    The Unix timestamp in milliseconds when the message was produced.