diff --git a/Urbit/Airlock.hs b/Urbit/Airlock.hs index f9303ce..326a279 100644 --- a/Urbit/Airlock.hs +++ b/Urbit/Airlock.hs @@ -110,7 +110,13 @@ ack sess ship eventId = ] -- | -subscribe :: Ship -> Path -> OutputStream ByteString -> IO () +subscribe :: + Ship -> + Path -> + -- | A handler function to receiv the response from the server, e.g. + -- 'System.IO.Streams.stdout`. + OutputStream ByteString -> + IO () subscribe ship path outfn = Client.get addr handle where handle :: Response -> InputStream ByteString -> IO ()