Spec-Zone.ru › Dart 2

dart:async

isCompleted property

bool isCompleted

Whether the future has been completed.

Reflects whether complete or completeError has been called. A true value doesn't necessarily mean that listeners of this future have been invoked yet, either because the completer usually waits until a later microtask to propagate the result, or because complete was called with a future that hasn't completed yet.

When this value is true, complete and completeError must not be called again.

Implementation

bool get isCompleted;

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-async/Completer/isCompleted.html

Spec-Zone.ru

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