code: function unsubscribe(subscription) {
      const index = exports.subscriptions.indexOf(subscription);
      if (index === -1)
          return;
      subscription.stop();
      // asteroid.unsubscribe(subscription.id) // v2
      exports.subscriptions.splice(index, 1); // remove from collection
      log_1.logger.info(`[${subscription.id}] Unsubscribed`);
  }
docs: Unsubscribe from Meteor subscription