SFML-2.3.2.3: SFML bindings

Safe HaskellNone
LanguageHaskell98

SFML.System.Sleep

Synopsis

Documentation

sfSleep :: Time -> IO () Source

Make the current thread sleep for a given duration.

sfSleep is the best way to block a program or one of its threads, as it doesn't consume any CPU power.