DOWNLOADS EXAMPLES SKINS DOCS SUPPORT
 
 

Multiple JavaScript requests within a single function

Wimpy Javascript functionality is synchronous. Which means you should be able to make multiple requests into Wimpy.

Wimpy will return "something" -- regardless of whether something should be returned. For example, when requesting to "play" Wimpy returns "true" (boolean), so you may want to set up your javascript requests to wait for the returned "thing" such as:

temp = wimpy_play();

By setting the function call to a variable, javascript will "wait" until the "thing" is returned before moving on to the next line.

 

 

 

 

 

  ©Copyright Plaino LLC. All rights reserved.