faster continuations using callbacks (only for tasks, not futures)