Thunk-based flow control with fallback support for callbacks.