Skip to content

Commit

Permalink
refactor(MembershipsAdapter): change return type of getMembersFromDes…
Browse files Browse the repository at this point in the history
…tination to observable of member array
  • Loading branch information
karinasigartau0798 authored and lalli-flores committed Mar 17, 2021
1 parent 22ec05b commit 5691c09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/MembershipsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.<Membership>} Observable stream that emits membership data
* @returns {external:Observable.<Array.<Member>>} Observable stream that emits an array of members
* @memberof MembershipAdapter
*/
getMembersFromDestination(destinationID, destinationType) {
Expand Down

0 comments on commit 5691c09

Please sign in to comment.