Commit 2147e3f
authored
fix: EventPublisher should throw immediately if signal is aborted (#629)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved handling of aborted operations to ensure immediate feedback
if an operation is started with an already-aborted signal.
- **Tests**
- Updated tests to verify that operations throw immediately when
initiated with an aborted signal.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 343cede commit 2147e3f
2 files changed
Lines changed: 4 additions & 7 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
| 246 | + | |
252 | 247 | | |
253 | 248 | | |
254 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
0 commit comments