Out with promises, in with thunks and continuations