waitUntil property

({void Function(Future thenable) $1, void Function(Future thenable) $2}) get waitUntil

Overload accessor: $1, $2

Implementation

({
  /// Allows to pause the event and to apply a {@link WorkspaceEdit workspace edit}.
  ///
  ///  *Note:* This function can only be called during event dispatch and not
  ///  in an asynchronous manner:
  ///
  ///  ```ts
  ///  workspace.onWillCreateFiles(event => {
  ///  	// async, will *throw* an error
  ///  	setTimeout(() => event.waitUntil(promise));
  ///
  ///  	// sync, OK
  ///  	event.waitUntil(promise);
  ///  })
  ///  ```
  ///
  ///  @param thenable A thenable that delays saving.
  void Function(_i2.Future<_i2.dynamic> thenable) $1,

  /// Allows to pause the event until the provided thenable resolves.
  ///
  ///  *Note:* This function can only be called during event dispatch.
  ///
  ///  @param thenable A thenable that delays saving.
  void Function(_i2.Future<_i2.dynamic> thenable) $2,
}) get waitUntil => (
      $1: _waitUntil$1,
      $2: _waitUntil$2,
    );