Module

Pha.Effects.Delay

Package
purescript-pha
Repository
gbagan/purescript-pha

#delay Source

delay :: forall r. Int -> Run (delay :: DELAY | r) Unit

sleep during n milliseconds then continue the action

#interpretDelay Source

interpretDelay :: forall r. Run (aff :: AFF, delay :: DELAY | r) Unit -> Run (aff :: AFF | r) Unit

default implementation of the effect delay

#Delay Source

data Delay a

Constructors

Instances