writeArchiveFromMap = async (
  write,
  readPowers,
  archiveLocation,
  compartmentMap,
  options,
) => {
  const archiveBytes = await makeArchiveFromMap(
    readPowers,
    compartmentMap,
    options,
  );
  await write(archiveLocation, archiveBytes);
}
@param {WriteFn} write
@param {ReadFn | ReadPowers} readPowers
@param {string} archiveLocation
@param {CompartmentMapDescriptor} compartmentMap
@param {ArchiveLiteOptions} [options]