Internal
Creates an instance of RbStorageService.
the document object provided by Angular's DI.
Private
Readonly
#changes$The Subject receiving the storage change events.
Private
Readonly
#destroy$Private
Readonly
#storageThe browser's local storage object.
Private
Readonly
#windowThe browser's window object.
Readonly
changes$The observable stream of storage change events, shared among subscribers.
Private
#storagePrivate
The storage event handler that takes a native StorageEvent and emits a StorageChangeEvent.
The native event to handle
RbStorageService is a service that provides an observable stream of storage change events.