Spec-Zone.ru › Dart 1

dart:developer

Метод finishSync

void finishSync()

Завершить последнюю синхронную операцию, которая была начата.

Исходный код

static void finishSync() {
  if (_isProduct) {
    return;
  }
  if (_stack.length == 0) {
    throw new StateError('Uneven calls to startSync and finishSync');
  }
  // Pop top item off of stack.
  var block = _stack.removeLast();
  if (block == null) {
    // Dart stream was disabled when startSync was called.
    return;
  }
  // Finish it.
  block.finish();
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-developer/Timeline/finishSync.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API