refactor(Completer): rename complete() to resolve()

This commit is contained in:
Victor Berchet
2015-02-25 12:46:50 +01:00
parent 6ad2c18277
commit 41c61e5bc7
8 changed files with 14 additions and 14 deletions

View File

@ -90,7 +90,7 @@ class _PendingRequest {
if (isBlank(response)) {
this.completer.reject(`Failed to load ${this.url}`);
} else {
this.completer.complete(response);
this.completer.resolve(response);
}
}