From d6d51de7c9d54691b33a8ae9691fd0402259006a Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 16 Apr 2020 14:04:05 +0200 Subject: Reaktor.API: init --- src/Reaktor.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Reaktor.hs') diff --git a/src/Reaktor.hs b/src/Reaktor.hs index 0910e0b..0d4e42c 100644 --- a/src/Reaktor.hs +++ b/src/Reaktor.hs @@ -26,6 +26,7 @@ import qualified Network.Simple.TCP as TCP import qualified Network.Simple.TCP.TLS as TLS import Network.Socket as Exports (HostName,ServiceName) import Prelude.Extended +import qualified Reaktor.API as API import Reaktor.Internal import Reaktor.Internal as Exports (Actions(..)) import Reaktor.Internal as Exports (Message(Message,Start)) @@ -83,6 +84,7 @@ run Config{..} getPlugins = plugins <- getPlugins actions threads <- mapM (\f -> forkIO $ f `finally` shutdown) [ + API.main actions, receiver actions putInMsg sockRecv, logger cLogHandle takeLog, pinger aSend, -- cgit v1.2.3