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

Side by Side Diff: web/inc/luci-sleep-promise/promise.ts

Issue 2570963003: Revert of Rewrite LogDog log viewer app. (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « web/inc/luci-sleep-promise/luci-sleep-promise.html ('k') | web/inc/rpc/client.ts » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 Copyright 2016 The LUCI Authors. All rights reserved.
3 Use of this source code is governed under the Apache License, Version 2.0
4 that can be found in the LICENSE file.
5 */
6
7 export function sleep(delay: number): Promise<void> {
8 return new Promise<void>( (resolve, reject) => {
9 window.setTimeout(resolve, delay);
10 });
11 }
OLDNEW
« no previous file with comments | « web/inc/luci-sleep-promise/luci-sleep-promise.html ('k') | web/inc/rpc/client.ts » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698