Changeset 15077 for trunk/FACT++/scripts/doc/Subscription.js
- Timestamp:
- 03/15/13 12:21:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/doc/Subscription.js
r14873 r15077 114 114 * timeout. 115 115 * 116 * @example 117 * var a = new Subscription("...service does not exist..."); 118 * a.get( 3000, true); // throws an exception 119 * a.get( 3000, false); // throws and exception 120 * a.get(-3000, true); // returns undefined 121 * a.get(-3000, false); // returns undefined 122 * 123 * var a = new Subscription("...service with valid description but no valid data yet..."); 124 * a.get( 3000, true); // throws an exception 125 * a.get( 3000, false); // returns Event.data==null, Event.obj valid but empty 126 * a.get(-3000, true); // return undefined 127 * a.get(-3000, false); // returns Event.data==null, Event.obj valid but emoty 128 * 129 * // Assuming that now valid description is available but data 130 * var a = new Subscription("...service without valid description but valid data..."); 131 * a.get( 3000, true); // throws an exception 132 * a.get( 3000, false); // returns Event.data valid, Event.obj==undefined 133 * a.get(-3000, true); // returns undefined 134 * a.get(-3000, false); // returns Event.data valid, Event.obj==undefined 135 * 116 136 */ 117 137 this.get = function() { /* [native code] */ }
Note:
See TracChangeset
for help on using the changeset viewer.