readSelf method

StateT readSelf()

Returns the currently exposed by a provider

May throw if the provider threw when creating the exposed value.

Implementation

StateT readSelf() {
  flush();

  return requireState;
}