pharo-graphics / Bloc

Low-level UI infrastructure & framework for Pharo
MIT License
81 stars 40 forks source link

Pass on simulation of events & Scripter #475

Open tinchodias opened 7 months ago

tinchodias commented 7 months ago

I take as starting point this method: https://github.com/pharo-graphics/Bloc/blob/6cfbca76ec7e5cf0633bf5b2d66e0ba4ce4da291/src/Bloc/BlSpace.class.st#L284

Points to analyze/discuss:

tinchodias commented 7 months ago

In addition, if this method makes sense:

BlSpace
    pulseUntilEmptyTaskQueue: aSpace
    timeout: 200 milliSeconds

then we might move it to instance side:

aSpace pulseUntilEmptyTaskQueueTimeout: 200 milliSeconds
tinchodias commented 7 months ago

Also, BlSpace class>>#pulseUntilEmptyTaskQueue:timeout: should wait if aSpace universe hasDeferredActions


EDIT: This was fixed in #478

tinchodias commented 7 months ago

This pass might open the door to remove BlUseAsyncFeatures which is now only used by Scripter's strategies (sync and async).

tinchodias commented 6 hours ago

Notes about BlDevScripter.

The package is not small:

scripter package is not small