MAIDR JavaScript API
    Preparing search index...

    Interface ExcelEventHandlerResult

    A registered handler (OfficeExtension.EventHandlerResult). It can only be removed through the request context it was added in.

    interface ExcelEventHandlerResult {
        context: { sync: () => Promise<unknown> };
        remove: () => void;
    }
    Index

    Properties

    Properties

    context: { sync: () => Promise<unknown> }

    The context the handler was added in. Its sync sends the removal, which is what Excel.run(result.context, …) does once its batch has run.

    remove: () => void

    Queue the removal; it takes effect on that context's next sync.