awaitSnapshot
Returns a snapshot, waiting if necessary for changes to occur since the previous snapshot. Each call to this function is guaranteed to send at least once frame to the composition.
Throws
TimeoutCancellationException
if no new snapshot is produced before timeout.