Non-Blocking Code

Is the only way to do this with ST to do…

runIn(1, method)

I am trying to prevent issues from slowing my notifications down like the TTS issue we had a few days ago. I don’t really like scheduling because one there isn’t a promise that it will happen in 1 second and two it delays it by 1 second.

also will this work?

runIn(0, method)

I am not in a place to test the 0 parameter so I figured I’d ask while getting my first question answered…

Here is an example method is you wanted to know…

def method() {

Update: now that I am home I can confirm that runIn(0, method) works.