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

Side by Side Diff: mojo/public/js/support.js

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « mojo/public/js/struct_unittests.js ('k') | mojo/public/js/test/validation_test_input_parser.js » ('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 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Module "mojo/public/js/support"
6 //
7 // Note: This file is for documentation purposes only. The code here is not
8 // actually executed. The real module is implemented natively in Mojo.
9
10 while (1);
11
12 /*
13 * Waits on the given handle until the state indicated by |signals| is
14 * satisfied.
15 *
16 * @param {MojoHandle} handle The handle to wait on.
17 * @param {MojoHandleSignals} signals Specifies the condition to wait for.
18 * @param {function (mojoResult)} callback Called with the result the wait is
19 * complete. See MojoWait for possible result codes.
20 *
21 * @return {MojoWaitId} A waitId that can be passed to cancelWait to cancel the
22 * wait.
23 */
24 function asyncWait(handle, signals, callback) { [native code] }
25
26 /*
27 * Cancels the asyncWait operation specified by the given |waitId|.
28 * @param {MojoWaitId} waitId The waitId returned by asyncWait.
29 */
30 function cancelWait(waitId) { [native code] }
OLDNEW
« no previous file with comments | « mojo/public/js/struct_unittests.js ('k') | mojo/public/js/test/validation_test_input_parser.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698