Code review comment for lp:~ken-vandine/content-hub/pasteboard

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

"""
    Q_INVOKABLE virtual const QMimeData* latest_paste_buf();
"""

That usually involves a round-trip through the D-Bus session + deserialization of the QMimeData, right?

So if I (the client) wanna get it asynchronously to avoid blocking my current thread (essentially because of the IPC involved), should I call this method from a separate worker thread? Or would it be simple for you to expose an async version of this on the client API?

review: Needs Information

« Back to merge proposal