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.
oysteikt added the
feature request
label 2025-01-10 18:57:33 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

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