Skip to content
Commits on Source (2)
{
"name": "i4-js-commons",
"version": "3.9.25",
"version": "3.9.26",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
{
"name": "i4-js-commons",
"version": "3.9.25",
"version": "3.9.26",
"description": "Just a load of common stuff for i4 front-ends and some probably usable in back-end as well",
"dependencies": {
"@material-ui/core": "^4.8.0",
......
......@@ -278,9 +278,9 @@ export const fromChannels = async ({
// console.log('Sub-ing 2:', before, after);
const callback = R.compose(
cb,
R.tap(x => console.log('Conformed:', x)),
R.tap(x => (before || after) && console.log('Conformed:', path, x)),
conformPoint(before, after, path),
R.tap(x => console.log('Raw in:', x)),
R.tap(x => (before || after) && console.log('Raw in:', path, x)),
);
return fromChannel({
rid,
......
......@@ -117,7 +117,7 @@ export const datasetMerge = R.curry((lengths, datasets) => {
});
/**
* Main function for subscribing to and getting historic data from a channel.
* Merge array of messages into one message.
* @func
* @static
* @param {array<object>} a Array of messages containing ts and pl
......