Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Unified Diff: web/inc/luci-operation/operation.ts

Issue 2717043002: Add LogDog log stream fetcher code. (Closed)
Patch Set: fix bug, underscore variable names Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « web/inc/logdog-stream/client.ts ('k') | web/inc/tslint.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: web/inc/luci-operation/operation.ts
diff --git a/web/inc/luci-operation/operation.ts b/web/inc/luci-operation/operation.ts
index 5b1587c9592f788364631cddb009fdcbb0f34f7d..a881ae6cc859aaf68920558b489fa6f238d2d48f 100644
--- a/web/inc/luci-operation/operation.ts
+++ b/web/inc/luci-operation/operation.ts
@@ -24,7 +24,7 @@ namespace luci {
*/
static CANCELLED = new Error('Operation is cancelled');
- private cancelledValue = false;
+ private _cancelled = false;
private cancelCallbacks = new Array<() => void>();
/**
@@ -47,7 +47,7 @@ namespace luci {
/** Cancelled returns true if this Operation has been cancelled. */
get cancelled() {
- return this.cancelledValue;
+ return this._cancelled;
}
/**
@@ -72,7 +72,7 @@ namespace luci {
}
// Mark that we are cancelled, and cancel our parent (and so on...).
- this.cancelledValue = true;
+ this._cancelled = true;
this.cancelCallbacks.forEach(cb => asyncCall(cb));
}
« no previous file with comments | « web/inc/logdog-stream/client.ts ('k') | web/inc/tslint.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698