Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75603

Delayed/asynchronous method replies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.12.3
    • Remote Objects
    • None
    • Linux/X11

      Add a way to send asynchronous method call replies, something similar to QDBusMessage::setDelayed.

      How it could look:

      QString foo(const QString &bar, const QRemoteObjectCall &call)
      {
          call.setDelayed(true);
          LongTask *task = createTask(bar);
          connect(task, &LongTask::finished, this, [=]() {
              call.sendReply(task->result());
          }
          return QString();
      }
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            bstottle Brett Stottlemyer
            nowrep David Rosca
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes