The extract function assist will check for an AWAIT_EXPR in the body and if found, will add async to the generated function.