Wire.Sem.Now.IO
nowToIOAction :: forall r a. Member (Embed IO) r => IO UTCTime -> Sem (Now ': r) a -> Sem r a Source #
An interpreter of the Now effect to IO via a custom IO action that provides the current time.
Now
nowToIO :: forall r a. Member (Embed IO) r => Sem (Now ': r) a -> Sem r a Source #
A specialisation of nowToIOAction to the getCurrentTime IO action.
nowToIOAction
getCurrentTime