Design user-facing API #23

Open
opened 2025-11-24 21:54:43 +01:00 by oysteikt · 0 comments
Owner

I'm not entirely sure how best to do this.

It would be really good if we could somehow use the request-response pairs to expect the return type of the communication both on server side and user side. But at the same time, listening for any request serverside would either require dynamic dispatch, or an enum that can be converted into the impl Command structs based on variants.

I think it would be good to write down the most common usecases and see what is needed, as well as use these API's in the example applications

I'm not entirely sure how best to do this. It would be really good if we could somehow use the request-response pairs to expect the return type of the communication both on server side and user side. But at the same time, listening for any request serverside would either require dynamic dispatch, or an enum that can be converted into the `impl Command` structs based on variants. I think it would be good to write down the most common usecases and see what is needed, as well as use these API's in the example applications
oysteikt added this to the Initial release milestone 2025-11-24 21:54:43 +01:00
oysteikt added the ui/ux label 2025-11-24 21:54:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Grzegorz/empidee#23