libQuotient icon indicating copy to clipboard operation
libQuotient copied to clipboard

Add a promise/future pair to PendingEventItem

Open KitsuneRal opened this issue 8 months ago • 4 comments

PendingEventItem screams that it has semantics of a future even with its name - now one can obtain a future from it and do useful things in then(), instead of connecting to pendingEvent* signals. The downside - the future carries no information about the pending item index so it seems of limited use in event item models.

KitsuneRal avatar Jun 29 '24 18:06 KitsuneRal