System.Event

# Types

data EventManager

# Creation

new

# Running

loop

## Stepwise running

step

shutdown

# Registering interest in I/O events

data Event

evtRead

evtWrite

type IOCallback

data FdKey

registerFd

registerFd_

unregisterFd

unregisterFd_

closeFd

# Registering interest in timeout events

type TimeoutCallback

data TimeoutKey

registerTimeout

updateTimeout

unregisterTimeout