napkin-0.5.14
Safe HaskellSafe-Inferred
LanguageGHC2021

Polysemy.Time

Synopsis

Documentation

runCurrentTimeIO :: forall effs m a. (Member (Embed m) effs, MonadIO m) => Sem (Time : effs) a -> Sem effs a #

time_ :: Member Time r => Sem r () -> Sem r NominalDiffTime #

Just measure how long action takes, discard its result