Module

Elmish.Test.SpinWait

Package
purescript-elmish-testing-library
Repository
collegevine/purescript-elmish-testing-library

#waitWhile Source

waitWhile :: forall m. Testable m => m Boolean -> m Unit

Performs active wait while the given condition is true. Times out with a crash after a second.

#waitUntil Source

waitUntil :: forall m. Testable m => m Boolean -> m Unit

Performs active wait while the given condition is false. Times out with a crash after a second.

#waitWhile' Source

waitWhile' :: forall m. Testable m => Milliseconds -> m Boolean -> m Unit

Performs active wait while the given condition is true. Times out with a crash after given time period.

#waitUntil' Source

waitUntil' :: forall m. Testable m => Milliseconds -> m Boolean -> m Unit

Performs active wait while the given condition is true. Times out with a crash after given time period.