Replaced usage of Continuation with AsyncContext.