benchmarks/scenarios/ember.js
function (context, callback) {
      if (!this.waiters) {
        return;
      }
      if (arguments.length === 1) {
        callback = context;
        context = null;
      }
      this.waiters = _emberRuntimeSystemNative_array.A(this.waiters.filter(function (elt) {
        return !(elt[0] === context && elt[1] === callback);
      }));
    }
function (context, callback) {
      if (!this.waiters) {
        return;
      }
      if (arguments.length === 1) {
        callback = context;
        context = null;
      }
      this.waiters = _emberRuntimeSystemNative_array.A(this.waiters.filter(function (elt) {
        return !(elt[0] === context && elt[1] === callback);
      }));
    }
function ( context , callback ) { if ( ! this . waiters ) { return ; } if ( arguments . length === 1 ) { callback = context ; context = null ; } this . waiters = _emberRuntimeSystemNative_array . A ( this . waiters . filter ( function ( elt ) { return ! ( elt [ 0 ] === context && elt [ 1 ] === callback ) ; } ) ) ; }
`unregisterWaiter` is used to unregister a callback that was
registered with `registerWaiter`.
@public
@method unregisterWaiter
@param {Object} context (optional)
@param {Function} callback
@since 1.2.0
unregisterWaiter is used to unregister a callback that was registered with registerWaiter .