OPEN_GRID API - v1.3.1
    Preparing search index...

    Interface TriggerContext<TResult>

    트리거 컨텍스트. / Trigger context.

    before:{op} 핸들러에서 ctx.cancel() 호출 → 해당 작업이 실행되지 않음. after:{op} / complete 핸들러에서는 ctx.result로 결과 확인 가능. / Calling ctx.cancel() in a before:{op} handler prevents the operation from running. In after:{op} / complete handlers the result is available via ctx.result.

    interface TriggerContext<TResult = any> {
        args: any[];
        cancelled: boolean;
        extra?: Record<string, any>;
        operation: string;
        result?: TResult;
        timestamp: number;
        cancel(): void;
    }

    Type Parameters

    • TResult = any
    Index

    Properties

    args: any[]

    작업에 전달된 인수 배열 / Arguments passed to the operation

    cancelled: boolean

    취소 여부 — cancel() 호출 후 true가 됨 / Cancellation flag — becomes true after cancel()

    extra?: Record<string, any>

    추가 정보 (트리거 간 데이터 공유 등) / Extra info (data sharing between triggers, etc.)

    operation: string

    작업 이름 (setData, insertRow, deleteRow, writeCell, ...) / Operation name (setData, insertRow, deleteRow, writeCell, ...)

    result?: TResult

    작업 결과 (after:* / complete 에서만 채워짐) / Operation result (populated only in after:* and complete)

    timestamp: number

    작업 시작 타임스탬프 (ms) / Operation start timestamp (ms)

    Methods

    • 작업 취소 — before:{op} 핸들러에서만 유효. 이후 핸들러도 실행되지 않으며 실제 작업도 중단된다. / Cancel the operation — valid only in before:{op} handlers. Subsequent handlers are skipped and the operation itself is aborted.

      Returns void