Skip to content
Andy Gill edited this page Feb 4, 2015 · 1 revision

What might a remote object for the comet consist of?

-- UTF-8 BS, I expect
data Req :: * -> * where
   AsyncSend :: ByteString -> Req ()
   SyncSend :: ByteString -> Req ByteString
   Callback :: (BS -> IO a) -> Req ()
Clone this wiki locally