define(["exports"],(function(exports){"use strict";
/**
	 * @license
	 * Copyright 2021 Google LLC
	 * SPDX-License-Identifier: BSD-3-Clause
	 */exports.Pauser=class{constructor(){this.Y=void 0,this.q=void 0}get(){return this.Y}pause(){var t;null!==(t=this.Y)&&void 0!==t||(this.Y=new Promise(t=>this.q=t))}resume(){var t;null===(t=this.q)||void 0===t||t.call(this),this.Y=this.q=void 0}},exports.PseudoWeakRef=class{constructor(t){this.U=t}disconnect(){this.U=void 0}reconnect(t){this.U=t}deref(){return this.U}},exports.forAwaitOf=async(t,s)=>{for await(const i of t)if(!1===await s(i))return},Object.defineProperty(exports,"__esModule",{value:!0})}));
