waitUntil property
Overload accessor: $1, $2
Implementation
({
/// Allows to pause the event loop and to apply {@link TextEdit pre-save-edits}.
/// Edits of subsequent calls to this function will be applied in order. The
/// edits will be *ignored* if concurrent modifications of the document happened.
///
/// *Note:* This function can only be called during event dispatch and not
/// in an asynchronous manner:
///
/// ```ts
/// workspace.onWillSaveTextDocument(event => {
/// // async, will *throw* an error
/// setTimeout(() => event.waitUntil(promise));
///
/// // sync, OK
/// event.waitUntil(promise);
/// })
/// ```
///
/// @param thenable A thenable that resolves to {@link TextEdit pre-save-edits}.
void Function(_i2.Future<_i2.dynamic> thenable) $1,
/// Allows to pause the event loop until the provided thenable resolved.
///
/// *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,
);