Skip to content

EspoCRM – Open Source CRM Application

docs

Yuri Kuznetsov26c2234eadc4
diff --git a/client/src/model.js b/client/src/model.js
index fdb4675664..2e2aef4baa 100644
--- a/client/src/model.js
+++ b/client/src/model.js
@@ -602,7 +602,8 @@ class Model {
/**
* Delete the record in the backend.
*
- * @param {{wait?: boolean} & Object.<string, *>} [options] Options.
+ * @param {{wait?: boolean} & Object.<string, *>} [options] Options. If `wait`, unsubscribing and
+ * removal from the collection will wait for a successful response.
* @returns {Promise}
* @fires Model#sync
* @copyright Credits to Backbone.js.