async function getSnapshotHandler(callback) {
  const snapshot = await database.getSnapshot();
  callback(snapshot);
}
Handler for a getSnapshot message. Get the latest snapshot of the workspace.
@param {!Function} callback The callback passed in by WorkspaceClient to
recieve the snapshot.
@public