| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Module "mojo/public/js/support" | 5 // Module "mojo/public/js/support" |
| 6 // | 6 // |
| 7 // Note: This file is for documentation purposes only. The code here is not | 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. | 8 // actually executed. The real module is implemented natively in Mojo. |
| 9 | 9 |
| 10 while (1); | 10 while (1); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * @return {MojoWaitId} A waitId that can be passed to cancelWait to cancel the | 21 * @return {MojoWaitId} A waitId that can be passed to cancelWait to cancel the |
| 22 * wait. | 22 * wait. |
| 23 */ | 23 */ |
| 24 function asyncWait(handle, signals, callback) { [native code] } | 24 function asyncWait(handle, signals, callback) { [native code] } |
| 25 | 25 |
| 26 /* | 26 /* |
| 27 * Cancels the asyncWait operation specified by the given |waitId|. | 27 * Cancels the asyncWait operation specified by the given |waitId|. |
| 28 * @param {MojoWaitId} waitId The waitId returned by asyncWait. | 28 * @param {MojoWaitId} waitId The waitId returned by asyncWait. |
| 29 */ | 29 */ |
| 30 function cancelWait(waitId) { [native code] } | 30 function cancelWait(waitId) { [native code] } |
| OLD | NEW |