Delay variable-assigned functions from running till other function done

Delay variable-assigned functions from running till other function done

I have a number of stacks on a page w/ their respective functions.  I need to run my stack before the others, or put another way, pause the others till my stack is finished.

If this is an example of a variable assigned to a function for another stack that I want to pause.
  1. stacks.com_company_product1 = (function() {
  2. ... other stack function
  3. });

I tried using $.holdReady() to stop all other functions and then release it, but didn't really work.
Is there a way to pause those stacks, using their variable, and then run them once my stack is done?

    • Topic Participants

    • bill