From 5691c0953e612f89fbe0ea18dd0e586c096180fd Mon Sep 17 00:00:00 2001 From: "ENDAVA\\ksigartau" Date: Wed, 17 Mar 2021 15:30:25 +0200 Subject: [PATCH] refactor(MembershipsAdapter): change return type of getMembersFromDestination to observable of member array --- src/MembershipsAdapter.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MembershipsAdapter.js b/src/MembershipsAdapter.js index 03912e0..386703b 100644 --- a/src/MembershipsAdapter.js +++ b/src/MembershipsAdapter.js @@ -43,13 +43,13 @@ export const DestinationType = { */ export default class MembershipsAdapter extends WebexAdapter { /** - * Returns an observable that emits a Membership object. - * Whenever there is an update to the membership, the observable - * will emit a new updated Membership object, if datasource permits. + * Returns an observable that emits an array of members. + * Whenever there is an update to this array, the observable + * will emit a new updated array of members, if datasource permits. * * @param {string} destinationID ID of the destination for which to get members * @param {DestinationType} destinationType type of the membership destination - * @returns {external:Observable.} Observable stream that emits membership data + * @returns {external:Observable.>} Observable stream that emits an array of members * @memberof MembershipAdapter */ getMembersFromDestination(destinationID, destinationType) {