async function updateDisplayStateAndNotifyCallbacks() {
  try {
    currentDisplayConfig = await module.exports.extractDisplayConfig();
    for (const callback of Array.from(displayChangeCallbacks)) {
      callback(null, currentDisplayConfig);
    }
  } catch (e) {
    for (const callback of Array.from(displayChangeCallbacks)) {
      callback(e);
    }
  }
}
Restores a display configuration derived from {@link displayConfigForRestoration}.

If the given configuration refers to enabled displays that are not currently attached,
this function simply enables the displays known to the given configuration and
disables all attached displays not known to the given configuration. Otherwise,
the given configuration is applied to the display set.

@param {RestoreDisplayConfigArgs} args