Open sgwilym opened 2 years ago
This was going to be part of the original implementation, however this is quite a complex endeavour. What is your usecase?
I'm building a library which provides a syncable storage to different processes.
One convenience I'm trying to provide these client processes is the ability to pull from a common configuration based on LocalStorage.
If one process changes the value of a configuration item I'd like other processes to know about it.
One reason I'm using LocalStorage is because this same library is used in browsers, where processes are replaced by clients running in different tabs on the same origin.
I have a very similar use case :)
It would be great for Deno to support storage events as it already supports the WebStorage API.
https://developer.mozilla.org/en-US/docs/Web/API/Window/storage_event