Event-driven scripts now can use brick.run() to avoid busy waiting