type of the state
Subscribe to the observable-like.
Update the internal state using the provided callback.
Note: If the callback returns the same instance of the state (i.e. returns the prev
argument)
the implementations are safe to assume that no update happened and can act so (e.g. skip any notification or post-processing).
Generated using TypeDoc
Subject-like object whose state can be updated.