mirror of
https://github.com/bsima/haskell-urbit-api.git
synced 2024-09-11 18:27:08 +03:00
document what this argument is
This commit is contained in:
parent
6732cffcbc
commit
7beb29d1bb
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user