diff options
Diffstat (limited to 'src/Network/BitTorrent/Client/Handle.hs')
-rw-r--r-- | src/Network/BitTorrent/Client/Handle.hs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Network/BitTorrent/Client/Handle.hs b/src/Network/BitTorrent/Client/Handle.hs index 25316a0a..0d1b7f92 100644 --- a/src/Network/BitTorrent/Client/Handle.hs +++ b/src/Network/BitTorrent/Client/Handle.hs | |||
@@ -14,11 +14,7 @@ module Network.BitTorrent.Client.Handle | |||
14 | 14 | ||
15 | -- * Query | 15 | -- * Query |
16 | , getHandle | 16 | , getHandle |
17 | , HandleStatus (..) | ||
18 | , getStatus | 17 | , getStatus |
19 | |||
20 | -- * Events | ||
21 | , HandleEvent (..) | ||
22 | ) where | 18 | ) where |
23 | 19 | ||
24 | import Control.Concurrent.Chan.Split | 20 | import Control.Concurrent.Chan.Split |
@@ -192,6 +188,3 @@ getHandle ih = do | |||
192 | 188 | ||
193 | getStatus :: Handle -> IO HandleStatus | 189 | getStatus :: Handle -> IO HandleStatus |
194 | getStatus Handle {..} = readMVar handleStatus | 190 | getStatus Handle {..} = readMVar handleStatus |
195 | |||
196 | subscription :: Handle -> IO (ReceivePort HandleEvent) | ||
197 | subscription Handle {..} = listen handleEvents | ||