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