1. A method comprising: at a computer, dynamically binding an event context to an execution context in response to receiving events by: maintaining the execution context in an idle state until an event arrives at a head of a global event queue that is accessible by event contexts; storing, in a memory associated with the computer, arriving events into the global event queue; storing, in the memory, events from the global event queue in per-execution context event queues; and associating, at the computer, an event queue with the execution context to temporarily store events for the event context for a duration of the dynamic binding; removing an event from the events for the event context in the event queue; placing the event in the event queue of other execution context to which the event context associated with the event is already bound to; determining the event context; determining if the event context to which the event belongs is already bound to the execution context: unbinding the event context; and returning to the idle state.