Theia API Documentation v1.65.0
    Preparing search index...
    interface UserFileOperationEvent {
        correlationId: number;
        operation: FileOperation;
        source?: URI;
        target: URI;
        token: CancellationToken;
        waitUntil(thenable: Promise<any>): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    correlationId: number

    An identifier to correlate the operation through the different event types (before, after, error).

    operation: FileOperation

    The file operation that is taking place.

    source?: URI

    A property that is defined for move operations.

    target: URI

    The resource the event is about.

    A cancellation token.

    Methods

    • Allows to pause the event loop until the provided thenable resolved.

      Note: It can only be called during event dispatch and not in an asynchronous manner

      Parameters

      • thenable: Promise<any>

        A thenable that delays execution.

      Returns void