Hi, I’d like to know if it is possible to run libp2p-js in background.
I am working in a Ionic application that enable users to send messages (with libp2p) and seed files (with WebTorrent) and my main issue is that WebTorrent works in background using a service worker but Libp2p does not work when my app is in background. (It is currently on the apps JS main thread)
Is there a way that I could register a service worker or any other strategy to receive content while my app is minimized?
I am not an expert on how a Service Worker / WebTorrent works under the hood. I just know that I can still seed / download files while my Ionic app is minimized, but I don’t know if it is possible to do the same with Libp2p.