{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE CPP #-}
module GHC.Event
#if defined(js_HOST_ARCH)
( ) where
#else
(
EventManager
, TimerManager
, getSystemEventManager
, new
, getSystemTimerManager
, Event
, evtRead
, evtWrite
, IOCallback
, FdKey(keyFd)
, Lifetime(..)
, registerFd
, unregisterFd
, unregisterFd_
, closeFd
, TimeoutCallback
, TimeoutKey
, registerTimeout
, updateTimeout
, unregisterTimeout
) where
import GHC.Event.Manager
import GHC.Event.TimerManager (TimeoutCallback, TimeoutKey, registerTimeout,
updateTimeout, unregisterTimeout, TimerManager)
import GHC.Event.Thread (getSystemEventManager, getSystemTimerManager)
#endif