Skip to content

Releases: danog/loop

Allow postponing resume

30 Sep 12:22
Compare
Choose a tag to compare

Add an optional $postpone parameter to the resume() function: if true, multiple resumes will postpone the resuming to the end of the callback queue instead of leaving its position unchanged (defaults to false).

Fixes

24 Jan 17:59
Compare
Choose a tag to compare
1.0.3

Just wait when starting

Fixup execution order

24 Jan 15:18
Compare
Choose a tag to compare
1.0.2

Fixup execution order

Actively wait for shutdown

24 Jan 14:57
Compare
Choose a tag to compare

This release improves UX by actively waiting for the currently running loop to exit when calling start().

Amp v3

24 Jan 13:27
Compare
Choose a tag to compare

This release brings amp v3 support: the entire API was refactored, check out the new docs for more info: https://github.com/danog/loop

The new architecture also avoids memory leaks that may have been present in certain conditions in old releases.

resumeDeferOnce

21 Apr 13:44
b1941cc
Compare
Choose a tag to compare

Added a resumeDeferOnce method in the resumable loops.
Multiple consecutive calls resumeDeferOnce to will yield only one resume at the next event loop tick.