Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype PingPong a = PingPong {
- getPingPong :: Maybe a
- pingPong :: MonadBaseControl IO m => Int -> WebSocketsApp send receive m -> m (WebSocketsApp (PingPong send) (PingPong receive) m)
Documentation
PingPong | |
|
:: MonadBaseControl IO m | |
=> Int | Delay in microseconds |
-> WebSocketsApp send receive m | |
-> m (WebSocketsApp (PingPong send) (PingPong receive) m) |