use promise from getInitialAsyncState