Skip to content

Commit 0a89d60

Browse files
committed
FIx release notes.
1 parent 225d038 commit 0a89d60

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

releases.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
## Unreleased
44

5-
- `Async::Notification#signal` now returns `true` if a task was signaled, `false` otherwise, providing better feedback for notification operations.
5+
- `Async::Notification#signal` now returns `true` if a task was signaled, `false` otherwise, providing better feedback for notification operations.
66

7-
### Async::Barrier Improvements
7+
### `Async::Barrier` Improvements
88

99
`Async::Barrier` now provides more flexible and predictable behavior for waiting on task completion:
1010

@@ -43,9 +43,9 @@ end
4343

4444
This makes `Async::Barrier` a superset of `Async::Waiter` functionality, providing more flexible task coordination patterns.
4545

46-
### Queue Closing Functionality
46+
### Introduce `Async::Queue#close`
4747

48-
`Async::Queue` and `Async::LimitedQueue` now support closing, which provides better resource management and error handling:
48+
`Async::Queue` and `Async::LimitedQueue` can now be closed, which provides better resource management and error handling:
4949

5050
- **New `close` method**: Both queue types now have a `close` method that prevents further items from being added and signals any waiting tasks.
5151
- **Consistent error handling**: All queue modification methods (`push`, `enqueue`, `<<`) now raise `Async::Queue::ClosedError` when called on a closed queue.
@@ -106,7 +106,7 @@ end
106106

107107
### Flexible Timeouts
108108

109-
When {ruby Async::Scheduler\#with\_timeout} is invoked with a block, it can receive a {ruby Async::Timeout} instance. This allows you to adjust or cancel the timeout while the block is executing. This is useful for long-running tasks that may need to adjust their timeout based on external factors.
109+
When `Async::Scheduler#with_timeout` is invoked with a block, it can receive a `Async::Timeout` instance. This allows you to adjust or cancel the timeout while the block is executing. This is useful for long-running tasks that may need to adjust their timeout based on external factors.
110110

111111
``` ruby
112112
Async do
@@ -180,7 +180,7 @@ To take advantage of this feature, you will need to introduce your own `config/t
180180

181181
## v2.19.0
182182

183-
### Async::Scheduler Debugging
183+
### `Async::Scheduler` Debugging
184184

185185
Occasionally on issues, I encounter people asking for help and I need more information. Pressing Ctrl-C to exit a hung program is common, but it usually doesn't provide enough information to diagnose the problem. Setting the `CONSOLE_LEVEL=debug` environment variable will now print additional information about the scheduler when you interrupt it, including a backtrace of the current tasks.
186186

0 commit comments

Comments
 (0)