Source at https://github.com/nokia-entertainment/JSONPHandler
This demo demonstrates the use of JSONPHandler using the FreeBase JSONP API
There are two "channels" set up, the first is to the Suggest API and is called by key up events in the text field. This channel is unique, meaning that subsequent requests override the last making it impossible for requests to callback out of sequence.
Once suggest requests are returned the individual topic IDs are used to make further topic requests, these can arrive asynchronously in parallel (using a non unique channel). These appear when ready below the isuggestion results list.