Simple API for io, timer and completion callbacks
