Skip to content

Add async iterator support for event subscriptions#249

Description

@meshackyaro

Description

Event API uses callbacks. Modern async code prefers async iterators for better integration.

Component

SDK

Difficulty

馃煛 Medium

Tasks

  • Add async iterator interface for events
  • Support for-await-of pattern
  • Maintain callback API for compatibility
  • Add async iteration examples
  • Test iterator cleanup

Acceptance Criteria

  • Events consumable with for-await-of
  • Both callback and iterator APIs work
  • Examples demonstrate usage

Estimated Time

2-3 days

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions