A library for event-driven sequencing & composition