Skip to content

Releases: socketry/async

v2.41.0

28 Jun 07:20
32428cf

Choose a tag to compare

  • Fixed: Protect initial task from Interrupt exceptions.

v2.40.0

24 Jun 02:18
d4930f4

Choose a tag to compare

  • Introduce Async::Condition#waiting_count. This allows you to see how many tasks are currently waiting on the condition, which can be useful for debugging and monitoring purposes.

v2.39.0

05 Apr 12:59
886d62c

Choose a tag to compare

  • Async::Barrier#wait now returns the number of tasks that were waited for, or nil if there were no tasks to wait for. This provides better feedback about the operation, and allows you to know how many tasks were involved in the wait.

v2.38.1

17 Mar 20:32
975b9fa

Choose a tag to compare

  • Fix Barrier#async when parent.async yields before the child block executes. Previously, Barrier#wait could return early and miss tracking the task entirely, because the task had not yet appended itself to the barrier's task list.

v2.38.0

08 Mar 09:17
9182cde

Choose a tag to compare

  • Rename Task#stop to Task#cancel for better clarity and consistency with common concurrency terminology. The old stop method is still available as an alias for backward compatibility, but it is recommended to use cancel going forward.
  • Forward arguments from Task#wait -> Promise#wait, so task.wait(timeout: N) is supported.

v2.37.0

08 Mar 09:17
38238d3

Choose a tag to compare

  • Introduce Async::Loop for robust, time-aligned loops.
  • Add support for Async::Promise#wait(timeout: N).

v2.21.1

21 Dec 22:31
367745d

Choose a tag to compare

What's Changed

  • Worker pool for efficient handling of blocking_operation_wait. by @ioquatix in #359
  • Add test coverage for worker pool. by @ioquatix in #362

Full Changelog: v2.21.0...v2.21.1

v2.14.2

24 Jul 05:24
9942abd

Choose a tag to compare

Full Changelog: v2.14.1...v2.14.2

v2.12.0

23 Jun 03:06
253b79d

Choose a tag to compare

What's Changed

Full Changelog: v2.11.0...v2.12.0

v2.11.0

04 May 07:42
43f1559

Choose a tag to compare

What's Changed

  • Update dependency on console gem and modernize usage. by @ioquatix in #315

Full Changelog: v2.10.2...v2.11.0