Within LTS Haskell 8.20 (ghc-8.0.2)
Start the timeout and return the flag to be monitored by waitUntilSTM This timeout is persistent. This means that the counter is initialized in the first call to getTimeoutFlag no matter if the workflow is restarted. The time during which the worlkflow has been stopped count also. Thus, the wait time can exceed the time between failures. when timeout is 0 means no timeout.
Page 1 of 1