lib/async/waiter.rb in async-2.14.2 vs lib/async/waiter.rb in async-2.15.0

- old
+ new

@@ -1,8 +1,9 @@ # frozen_string_literal: true # Released under the MIT License. -# Copyright, 2022, by Samuel Williams. +# Copyright, 2022-2024, by Samuel Williams. +# Copyright, 2024, by Patrik Wenger. module Async # A composable synchronization primitive, which allows one task to wait for a number of other tasks to complete. It can be used in conjunction with {Semaphore} and/or {Barrier}. class Waiter # Create a waiter instance.