What is an Event-Based API?