Node callbacks as thunks