postgrest-9.0.1: 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.