Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UserFileOperationEvent

Hierarchy

  • WaitUntilEvent
    • UserFileOperationEvent

Index

Properties

Readonly correlationId

correlationId: number

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

Readonly operation

operation: FileOperation

The file operation that is taking place.

Optional Readonly source

source: default

A property that is defined for move operations.

Readonly target

target: default

The resource the event is about.

Methods

waitUntil

  • waitUntil(thenable: Promise<any>): void
  • 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