Improved the proposed solution for the async observable assignment