postgrest-8.0.0: REST API for any Postgres database
Safe HaskellNone
LanguageHaskell2010

PostgREST.AppState

Synopsis

Documentation

logWithZTime :: AppState -> Text -> IO () Source #

Log to stderr with local time

waitListener :: AppState -> IO () Source #

As this IO action uses takeMVar internally, it will only return once stateListener has been set using signalListener. This is currently used to syncronize workers.