Internal id management for event listeners #10

Open
opened 2024-12-23 12:16:07 +01:00 by oysteikt · 0 comments
Owner

Currently, the API is very directly mapped to the mpv API. You can ask to observe events with an id, and when you listen for events, you will get a stream of all events, with all possible tagged ids. It would be nice to abstract this API away, where there is a global id pool that provisions ids automatically, and you will be allowed to open an event listener for an mpv instance that only forwards the events that this mpv instance is listening for.

Currently, the API is very directly mapped to the mpv API. You can ask to observe events with an id, and when you listen for events, you will get a stream of all events, with all possible tagged ids. It would be nice to abstract this API away, where there is a global id pool that provisions ids automatically, and you will be allowed to open an event listener for an mpv instance that only forwards the events that this mpv instance is listening for.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Grzegorz/mpvipc-async#10
No description provided.