processPending
Process possibly pending notifications from sync or push if needed. This may suspend for a long time (e.g., when the network is not available but a sync is needed).
When MatrixClientConfiguration.enableExternalNotifications is enabled, this waits until getAllUpdates has collected all updates.