question

Upvotes
Accepted
646 6 13 25

Dex2. Synchronized query

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

eikoneikon-com-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
4.6k 26 7 22

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
646 6 13 25

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea