@companion-module/base
    Preparing search index...

    Interface CompanionFeedbackCallbackContext

    Utility functions available while a feedback's value is being computed

    interface CompanionFeedbackCallbackContext {
        signal: AbortSignal;
        type: "action" | "feedback";
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    signal: AbortSignal

    A signal that aborts when a recheck of this feedback is queued while it is still executing. Respecting it is optional; if you do, stop work and throw - the thrown error will be ignored and a fresh check performed.

    type: "action" | "feedback"

    Whether this context is for an action or feedback