"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../frameloop/sync-time.mjs.js"),r=require("../../frameloop/frame.mjs.js");exports.frameloopDriver=t=>{const a=e=>{let{timestamp:r}=e;return t(r)};return{start:function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return r.frame.update(a,e)},stop:()=>r.cancelFrame(a),now:()=>r.frameData.isProcessing?r.frameData.timestamp:e.time.now()}};
//# sourceMappingURL=frame.mjs.js.map
