integration-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Test.Events

Documentation

withEventsWebSockets :: forall uid a. (HasCallStack, MakesValue uid) => [(uid, String)] -> ([(TChan Value, TChan Value)] -> App a) -> App a Source #

eventsWebSocket :: MakesValue user => user -> String -> TChan Value -> TChan Value -> MVar () -> App (Async ()) Source #