You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in webstorage.utility.ts, we have the following function:
public set<T>(key: string, value: T, config: DecoratorConfig = {}): T {
However, in its definition, we can see that it's only calling console.log upon failure.
This behaviour does not allow clients to detect and react in case of error.
Perhaps this function should instead return an Observable<T> or provide a callback in case of error instead.
The text was updated successfully, but these errors were encountered:
Hello,
Currently, in webstorage.utility.ts, we have the following function:
public set<T>(key: string, value: T, config: DecoratorConfig = {}): T {
However, in its definition, we can see that it's only calling
console.log
upon failure.This behaviour does not allow clients to detect and react in case of error.
Perhaps this function should instead return an
Observable<T>
or provide acallback
in case of error instead.The text was updated successfully, but these errors were encountered: