Skip to content

[AI-3] Add parallel async subscribers in EventBroker#13

Closed
mom1 wants to merge 1 commit into
mainfrom
feature/AI-3-async-parallel
Closed

[AI-3] Add parallel async subscribers in EventBroker#13
mom1 wants to merge 1 commit into
mainfrom
feature/AI-3-async-parallel

Conversation

@mom1
Copy link
Copy Markdown
Owner

@mom1 mom1 commented Mar 30, 2026

При публикации события асинхронные подписчики запускаются параллельно через asyncio.gather.

Changes

  • Добавлен параллельный запуск async handlers в EventBroker
  • Обратная совместимость сохранена для sync handlers
  • Изменены оба модуля: dataclasses и pydantic

Testing

  • 20 tests passed

linear: https://linear.app/maxst/issue/AI-3

- Run async event handlers in parallel using asyncio.gather
- Maintain backward compatibility for sync handlers
- Added documentation note in README
@mom1 mom1 force-pushed the feature/AI-3-async-parallel branch from 5513040 to eda3606 Compare March 30, 2026 14:45
@mom1 mom1 closed this Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant