Newer Version Available
Timeout Parameter for Asynchronous Calls
If an asynchronous call does not complete in an appropriate amount of time, you can end
the call. To do this, specify the timeout parameter in
the callback section of any asynchronous call.
Values for this parameter are in milliseconds, and valid values are integers beginning with 1.
If the call is successful within the time specified by the callout, no additional actions are taken. If the call is not successful, the onFailure action is performed.