summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Client/Handle.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/Client/Handle.hs')
-rw-r--r--src/Network/BitTorrent/Client/Handle.hs7
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
24import Control.Concurrent.Chan.Split 20import Control.Concurrent.Chan.Split
@@ -192,6 +188,3 @@ getHandle ih = do
192 188
193getStatus :: Handle -> IO HandleStatus 189getStatus :: Handle -> IO HandleStatus
194getStatus Handle {..} = readMVar handleStatus 190getStatus Handle {..} = readMVar handleStatus
195
196subscription :: Handle -> IO (ReceivePort HandleEvent)
197subscription Handle {..} = listen handleEvents