@@ -234,13 +234,6 @@ export default class Backburner {
234
234
return this . _join ( target , method , args ) ;
235
235
}
236
236
237
- /**
238
- * @deprecated please use schedule instead.
239
- */
240
- public defer ( queueName , targetOrMethod , ..._args ) {
241
- return this . schedule ( queueName , targetOrMethod , ..._args ) ;
242
- }
243
-
244
237
/**
245
238
* Schedule the passed function to run inside the specified queue.
246
239
*/
@@ -266,13 +259,6 @@ export default class Backburner {
266
259
return this . _ensureInstance ( ) . schedule ( queueName , null , iteratorDrain , [ iterable ] , false , stack ) ;
267
260
}
268
261
269
- /**
270
- * @deprecated please use scheduleOnce instead.
271
- */
272
- public deferOnce ( queueName , targetOrMethod , ...args ) {
273
- return this . scheduleOnce ( queueName , targetOrMethod , ...args ) ;
274
- }
275
-
276
262
/**
277
263
* Schedule the passed function to run once inside the specified queue.
278
264
*/
@@ -285,14 +271,6 @@ export default class Backburner {
285
271
return this . _ensureInstance ( ) . schedule ( queueName , target , method , args , true , stack ) ;
286
272
}
287
273
288
- /**
289
- * @deprecated use later instead.
290
- */
291
- public setTimeout ( ...args ) ;
292
- public setTimeout ( ) {
293
- return this . later ( ...arguments ) ;
294
- }
295
-
296
274
public later ( ...args ) {
297
275
let length = args . length ;
298
276
@@ -552,7 +530,7 @@ export default class Backburner {
552
530
return this . _cancelItem ( timer , this . _throttlers ) || this . _cancelItem ( timer , this . _debouncees ) ;
553
531
} else if ( timerType === 'function' ) { // we're cancelling a setTimeout
554
532
return this . _cancelLaterTimer ( timer ) ;
555
- } else if ( timerType === 'object' && timer . queue && timer . method ) { // we're cancelling a deferOnce
533
+ } else if ( timerType === 'object' && timer . queue && timer . method ) { // we're cancelling a scheduleOnce
556
534
return timer . queue . cancel ( timer ) ;
557
535
}
558
536
0 commit comments