framework
framework copied to clipboard
Allow resize’s callback to be async
Currently the render callback passed to resize is required to be synchronous, but we should allow it to be async. Just be careful — make sure that we don’t display the result of an earlier render call that resolves later.
Ref. #1334