hunk.code_window: /** @odoo-module **/
   /**
    * KeepLast is a concurrency primitive that manages a list of tasks, and only
    * keeps the last task active.
    *
    * @template T
  
hunk.labels: keep add keep keep keep keep keep
hunk.after_edit: /**
    * Returns a promise resolved after 'wait' milliseconds
    *
    * @param {int} [wait=0] the delay in ms
    * @return {Promise}
    */
   export function delay(wait) {
       return new Promise(function (resolve) {
           setTimeout(resolve, wait);
       });
   }
  
hunk.file_path: addons/web/static/src/core/utils/concurrency.js
hunk.type: add
file: # Part of Odoo. See LICENSE file for full copyright and licensing details.
  from . import models
  