1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

delint and replace more defers

This commit is contained in:
Michael Telatynski
2019-11-25 14:48:45 +00:00
parent bab4582139
commit 733008cfc4
4 changed files with 5 additions and 7 deletions

View File

@@ -121,7 +121,7 @@ MatrixScheduler.prototype.queueEvent = function(event) {
if (!this._queues[queueName]) {
this._queues[queueName] = [];
}
const defer = Promise.defer();
const defer = utils.defer();
this._queues[queueName].push({
event: event,
defer: defer,