import s from "../../../rc-util/es/raf.mjs";
function a(e) {
  if (typeof MessageChannel > "u")
    s(e);
  else {
    var n = new MessageChannel();
    n.port1.onmessage = function() {
      return e();
    }, n.port2.postMessage(void 0);
  }
}
export {
  a as default
};
