aoye 0.0.54 → 0.0.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/aoye.cjs.js CHANGED
@@ -299,6 +299,13 @@ function flushMicroEffect() {
299
299
  });
300
300
  }
301
301
  }
302
+ function flushMicroEffectManual() {
303
+ if (schedulerStatus !== ScheduleStatus.Running && multiScheduler.hasTask) {
304
+ schedulerStatus = ScheduleStatus.Running;
305
+ multiScheduler.flushAllTask();
306
+ schedulerStatus = ScheduleStatus.Idle;
307
+ }
308
+ }
302
309
  let _batchDeep = 0;
303
310
  const batchStart = () => _batchDeep++;
304
311
  const batchEnd = () => {
@@ -1595,6 +1602,7 @@ exports.effect = effect;
1595
1602
  exports.effectUt = effectUt;
1596
1603
  exports.execId = execId;
1597
1604
  exports.execIdInc = execIdInc;
1605
+ exports.flushMicroEffectManual = flushMicroEffectManual;
1598
1606
  exports.getPulling = getPulling;
1599
1607
  exports.ide = ide;
1600
1608
  exports.macro = macro;