markReady method

void markReady()

Mars this output as ready.

Implementation

void markReady() {
  _ready = true;
  if (!_readyCompleter.isCompleted) {
    _readyCompleter.complete(true);
  }

  if (!anyOutputReadyCompleter.isCompleted) {
    anyOutputReadyCompleter.complete(true);
  }
}