rd}!`)
  })

  let storageRequests = 0;

  app.ports.saveToLocalStorage.subscribe(function(request) {
    setTimeout(() => {
      app.ports.localStorageSaveResult.send({ id: request.id, data: request.data, success: true })
    }, 500 * (3 - storageRequests))
    storageRequests++
  })
  </script>
</body>
</html>