Dex2. Synchronized query

Is there a way to request data using Dex2 in synchronized way? Not using callbacks, but waiting for a response (block).

Best Answer

  • Zhenya Kovalyov
    Answer ✓

    Hi @igorg,

    Not out of the box, unfortunately. You can create a custom sync wrapper, such as described in the guide (page 119, method: WaitforResponse).

    If you are using this API is .NET, I can send you a sync API sample which is based on custom events.

Answers

  • igorg
    igorg Advocate

    Hi Zhenya,

    Thanks for the answer. I'm using C++ and I have a few samples from this portal. Let me check that guide, I didn't know it exists.

    -Igor