@@ -236,14 +236,6 @@ export default class Backburner {
236
236
return this . _join ( target , method , args ) ;
237
237
}
238
238
239
- /**
240
- * @deprecated please use schedule instead.
241
- */
242
- public defer ( queueName : string , ...args ) ;
243
- public defer ( ) {
244
- return this . schedule ( ...arguments ) ;
245
- }
246
-
247
239
/**
248
240
* Schedule the passed function to run inside the specified queue.
249
241
*/
@@ -270,14 +262,6 @@ export default class Backburner {
270
262
return this . _ensureInstance ( ) . schedule ( queueName , null , iteratorDrain , [ iterable ] , false , stack ) ;
271
263
}
272
264
273
- /**
274
- * @deprecated please use scheduleOnce instead.
275
- */
276
- public deferOnce ( queueName : string , ...args ) ;
277
- public deferOnce ( ) {
278
- return this . scheduleOnce ( ...arguments ) ;
279
- }
280
-
281
265
/**
282
266
* Schedule the passed function to run once inside the specified queue.
283
267
*/
@@ -291,14 +275,6 @@ export default class Backburner {
291
275
return this . _ensureInstance ( ) . schedule ( queueName , target , method , args , true , stack ) ;
292
276
}
293
277
294
- /**
295
- * @deprecated use later instead.
296
- */
297
- public setTimeout ( ...args ) ;
298
- public setTimeout ( ) {
299
- return this . later ( ...arguments ) ;
300
- }
301
-
302
278
public later ( )
303
279
public later ( ...args ) {
304
280
let length = args . length ;
@@ -489,7 +465,7 @@ export default class Backburner {
489
465
return this . _cancelItem ( timer , this . _throttlers ) || this . _cancelItem ( timer , this . _debouncees ) ;
490
466
} else if ( timerType === 'function' ) { // we're cancelling a setTimeout
491
467
return this . _cancelLaterTimer ( timer ) ;
492
- } else if ( timerType === 'object' && timer . queue && timer . method ) { // we're cancelling a deferOnce
468
+ } else if ( timerType === 'object' && timer . queue && timer . method ) { // we're cancelling a scheduleOnce
493
469
return timer . queue . cancel ( timer ) ;
494
470
}
495
471
0 commit comments