Awaiting a Callback method Languages

Awaiting a Callback method

I'm calling a third-party API which has a method that looks like this:My challenge is, I have to call Discover because it does some work under-the-covers that I need. At the same time, I have to wait for Discover to complete before running my custom code. To further complicate matters,...
Read More