mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 06:08:11 +00:00
[JSDoc] Add annotations
Bulk-add JSDoc annotations, WTD-1482.
This commit is contained in:
@ -34,6 +34,8 @@ define(
|
||||
* @param $q Angular's $q, for promises
|
||||
* @param {TelemetrySubscription} subscription a subscription
|
||||
* to supplied telemetry
|
||||
* @constructor
|
||||
* @memberof platform/telemetry
|
||||
*/
|
||||
function TelemetryHandle($q, subscription) {
|
||||
var seriesMap = {},
|
||||
@ -67,6 +69,7 @@ define(
|
||||
* data associated with it
|
||||
* @return {TelemetrySeries} the most recent telemetry series
|
||||
* (or undefined if there is not one)
|
||||
* @memberof platform/telemetry.TelemetryHandle#
|
||||
*/
|
||||
self.getSeries = function (domainObject) {
|
||||
var id = domainObject.getId();
|
||||
@ -81,6 +84,7 @@ define(
|
||||
* @param {Function} [callback] a callback that will be
|
||||
* invoked as new data becomes available, with the
|
||||
* domain object for which new data is available.
|
||||
* @memberof platform/telemetry.TelemetryHandle#
|
||||
*/
|
||||
self.request = function (request, callback) {
|
||||
// Issue (and handle) the new request from this object
|
||||
@ -109,4 +113,4 @@ define(
|
||||
return TelemetryHandle;
|
||||
|
||||
}
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user