How to use the @appbaseio/reactivemaps.AppbaseChannelManager.stopStream function in @appbaseio/reactivemaps

To help you get started, we’ve selected a few @appbaseio/reactivemaps examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github appbaseio / reactivesearch / app / actuators / ResultList.js View on Github external
removeChannel() {
		if (this.channelId) {
			manager.stopStream(this.channelId);
			this.channelId = null;
		}
		if (this.channelListener) {
			this.channelListener.remove();
		}
		if (this.loadListener) {
			this.loadListener.remove();
		}
	}
github appbaseio / reactivesearch / app / sensors / TagCloud.js View on Github external
removeChannel() {
		if (this.channelId) {
			manager.stopStream(this.channelId);
		}
		if (this.channelListener) {
			this.channelListener.remove();
		}
		if (this.loadListener) {
			this.loadListener.remove();
		}
		if (this.filterListener) {
			this.filterListener.remove();
		}
	}
github appbaseio / reactivesearch / app / sensors / CategorySearch.js View on Github external
componentWillUnmount() {
		if (this.channelId) {
			manager.stopStream(this.channelId);
		}
		if (this.channelListener) {
			this.channelListener.remove();
		}
		if (this.filterListener) {
			this.filterListener.remove();
		}
	}
github appbaseio / reactivesearch / app / actuators / ResultCard.js View on Github external
removeChannel() {
		if (this.channelId) {
			manager.stopStream(this.channelId);
			this.channelId = null;
		}
		if (this.channelListener) {
			this.channelListener.remove();
		}
		if (this.loadListener) {
			this.loadListener.remove();
		}
	}
github appbaseio / reactivesearch / app / sensors / NestedList.js View on Github external
componentWillUnmount() {
		if (this.channelId) {
			manager.stopStream(this.channelId);
		}
		if (this.channelListener) {
			this.channelListener.remove();
		}
		if (this.loadListenerParent) {
			this.loadListenerParent.remove();
		}
		if (this.loadListenerChild) {
			this.loadListenerChild.remove();
		}
		if (this.filterListener) {
			this.filterListener.remove();
		}
	}
github appbaseio / reactivesearch / app / sensors / DynamicRangeSlider.js View on Github external
componentWillUnmount() {
		if (this.channelId) {
			manager.stopStream(this.channelId);
		}
		if (this.channelListener) {
			this.channelListener.remove();
		}
		if (this.loadListener) {
			this.loadListener.remove();
		}
	}