Support running continuation on main loop