From 1beb66f98504a39c8a6c976f243a1f69ffb48d8d Mon Sep 17 00:00:00 2001 From: Sam Truzjan Date: Fri, 4 Apr 2014 04:51:36 +0400 Subject: [Internal] Add EventSource class --- src/Network/BitTorrent/Client/Handle.hs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/Network/BitTorrent/Client/Handle.hs') 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 -- * Query , getHandle - , HandleStatus (..) , getStatus - - -- * Events - , HandleEvent (..) ) where import Control.Concurrent.Chan.Split @@ -192,6 +188,3 @@ getHandle ih = do getStatus :: Handle -> IO HandleStatus getStatus Handle {..} = readMVar handleStatus - -subscription :: Handle -> IO (ReceivePort HandleEvent) -subscription Handle {..} = listen handleEvents -- cgit v1.2.3