dashboardjavacloudcoapiotiot-analyticsiot-platformiot-solutionskafkalwm2mmicroservicesmiddlewaremqttnettyplatformsnmpthingsboardvisualizationwebsocketswidgets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
595 B
22 lines
595 B
'use strict';
|
|
|
|
exports.__esModule = true;
|
|
var _config = {
|
|
fromESObservable: null,
|
|
toESObservable: null
|
|
};
|
|
|
|
var configureObservable = function configureObservable(c) {
|
|
_config = c;
|
|
};
|
|
|
|
var config = exports.config = {
|
|
fromESObservable: function fromESObservable(observable) {
|
|
return typeof _config.fromESObservable === 'function' ? _config.fromESObservable(observable) : observable;
|
|
},
|
|
toESObservable: function toESObservable(stream) {
|
|
return typeof _config.toESObservable === 'function' ? _config.toESObservable(stream) : stream;
|
|
}
|
|
};
|
|
|
|
exports.default = configureObservable;
|