Synchronous versus Asynchronous Message Passing

 
 
 

Methods passed using the sendMessageSync() method are processed synchronously, which means that scripts will not continue until after Showcase has finished processing the message, or a timeout period has expired.

A message may also be passed asynchronously using the sendMessage() method, which will cause the script to continue executing immediately after the message has been placed in the Showcase message processing queue, without waiting for it to be processed.