publishMutation method
- @protected
@protected
Notify the underlying stream that the internal state has mutated.
This method allows the state to manually trigger a mutation signal. However, it is recommended that mutations be performed within a call to mutate instead.
Implementation
@protected
void publishMutation() {
try {
preMutate();
_subject.add(this);
postMutate();
} catch (e, st) {
this.onError(e, st);
}
}