aoye 0.0.54 → 0.0.56

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.esm.js CHANGED
@@ -297,6 +297,13 @@ function flushMicroEffect() {
297
297
  });
298
298
  }
299
299
  }
300
+ function flushMicroEffectManual() {
301
+ if (schedulerStatus !== ScheduleStatus.Running && multiScheduler.hasTask) {
302
+ schedulerStatus = ScheduleStatus.Running;
303
+ multiScheduler.flushAllTask();
304
+ schedulerStatus = ScheduleStatus.Idle;
305
+ }
306
+ }
300
307
  let _batchDeep = 0;
301
308
  const batchStart = () => _batchDeep++;
302
309
  const batchEnd = () => {
@@ -1571,5 +1578,5 @@ function scope(...args) {
1571
1578
  return run;
1572
1579
  }
1573
1580
 
1574
- export { $, Computed, Effect, EffectStrType2Enum, IsStore, Keys, NoopEffect, ScheduleStatus, ScheduleType, Scope, Signal, Store, StoreIgnoreKeys, batchDeep, batchEnd, batchStart, clean, deepSignal, effect, effectUt, execId, execIdInc, getPulling, ide, macro, micro, noopEffect, now, runWithPulling, scope, setExecId, setPulling, shareSignal, toRaw };
1581
+ export { $, Computed, Effect, EffectStrType2Enum, IsStore, Keys, NoopEffect, ScheduleStatus, ScheduleType, Scope, Signal, Store, StoreIgnoreKeys, batchDeep, batchEnd, batchStart, clean, deepSignal, effect, effectUt, execId, execIdInc, flushMicroEffectManual, getPulling, ide, macro, micro, noopEffect, now, runWithPulling, scope, setExecId, setPulling, shareSignal, toRaw };
1575
1582
  //# sourceMappingURL=aoye.esm.js.map