lib/fetching/sourceToChannel.js
/**
 * Deletes the Channel corresponding to the given Source.
 */
Deletes the Channel corresponding to the given Source.
Deletes the Channel corresponding to the given Source .
function deleteChannel(source) {
    const { _id: sourceID } = source;
    const channelID = sourceChannelJoin[sourceID];
    downstream.unregister(channelID);
    delete sourceChannelJoin[sourceChannelJoin];
}
function deleteChannel ( source ) { const { _id : sourceID } = source ; const channelID = sourceChannelJoin [ sourceID ] ; downstream . unregister ( channelID ) ; delete sourceChannelJoin [ sourceChannelJoin ] ; }
Deletes the Channel corresponding to the given Source.
Deletes the Channel corresponding to the given Source .