Changelog
1.4.2 (December 10th 2020)
Changelog
1.4.1 (December 10th 2020)
asPromise
function (promisified version of noflo.asCallback
) now ships with the correct type definitionChangelog
1.4.0 (December 10th 2020)
createNetwork
and network.start
) now return Promises. Callbacks are still supported as a compatibility layer.setUp
and tearDown
can now return a Promise instead of calling the supplied callbacksendDone
or done
(if the Promise resolves to a value, it will be sent out)src/lib
folder contains NoFlo as JavaScript Modules. lib
is the CommonJS versionChangelog
1.3.0 (November 23rd 2020)
createNetwork
and asCallback
now accept a flowtrace
option to pass a Flowtrace instance for retroactive debugging. Example:const { Flowtrace } = require('flowtrace');
const tracer = new Flowtrace();
noflo.createNetwork(myGraph, {
flowtrace: tracer,
}, (err, network) => {
// ...
console.log(tracer.toJSON());
});
createNetwork
now accepts componentLoader
and baseDir
via options. Passing them via Graph properties is deprecatedcreateNetwork
now defaults to the non-legacy "network drives graph" modecreateNetwork
now only supports the graph, options, callback
signature, no options given in some other ordernoflo.Network
interface has been removed. Use createNetwork
to instantiate networksChangelog
1.2.7 (November 13th 2020)
asCallback
Changelog
1.2.4 (September 24th 2020)
getSource
now returns also component specs when available