Add a -a switch to /JSONOpen that allows for asyncronous HTTP requests when the -u switch is specified. When the async HTTP request completes a specified callback alias should be called.
Details
/JSONOpen -ua @Handle @Source @Callback
-a: Used with -u; indicates an async http request is to be made
@Callback
The alias to call when the request completes
It will be called with a single parameter: a reference to the JSON handle
Add a
-a
switch to/JSONOpen
that allows for asyncronous HTTP requests when the-u
switch is specified. When the async HTTP request completes a specified callback alias should be called.Details
/JSONOpen -ua @Handle @Source @Callback