General sensenet independent client side utilities
# Yarnyarn add @sensenet/client-utils# NPMnpm install @sensenet/client-utils
You can implement disposable resources and use them with a using() or usingAsync() syntax. Example:
usingnew Resource,usingAsyncnew Resource,
ObservableValue and ValueObservers
You can track value changes using with this simple Observable implementation.
// To update the valueobservableValue.setValueMath.random// if you want to dispose a single observerobserver.dispose// if you want to dispose the whole observableValue with all of its observers:observableValue.dispose
The class contains small helper methods for path transformation and manipulation.
Retrier is a utility that can keep trying an operation until it succeeds, times out or reach a specified retry limit.
Trace is an utility that can be used to track method calls, method returns and errors
// if you want to stop receiving eventsmethodTracer.dispose