there is something like that in krpano action script... wait() call
but also there it causes problems...
these timeouts or delayedcalls (action script) can make scripts pretty complex
specially if need return values and do something with them later on etc.