How to ensure non-async portion of async function executes before view assignment? I have following (simplified) model: