Changeset 15097 for trunk/FACT++/scripts/doc/Subscription.js
- Timestamp:
- 03/18/13 14:44:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/doc/Subscription.js
r15077 r15097 23 23 * too much. 24 24 * 25 * Each subscription must exist only once, therefore the function-call 26 * can be used to check for an open subscription. 27 * 25 28 * @param {String} service 26 29 * Name of the DIM service to which a subscription should be made. … … 38 41 * 39 42 * @example 40 * var handle1 = new Subscription("MAGIC_WEATHER/DATA"); 43 * var handle1 = Subscription("MAGIC_WEATHER/DATA"); 44 * if (!handle1) 45 * handle1 = new Subscription("MAGIC_WEATHER/DATA"); 41 46 * var handle2 = new Subscription("TNG_WEATHER/DATA", function(evt) { console.out(JSON.stringify(evt)); }); 42 47 * ...
Note:
See TracChangeset
for help on using the changeset viewer.