@squidcloud/backend
    Preparing search index...

    Interface TopicWriteContext<T>

    Context used when writing to a topic.

    interface TopicWriteContext<T> {
        integrationId: string;
        messages: T[];
        topicName: string;
    }

    Type Parameters

    • T
    Index

    Properties

    integrationId: string

    Identifier of the integration the topic belongs to.

    messages: T[]

    Messages to write to the topic.

    topicName: string

    Name of the topic being written to.