This is an experimental library for using Fn Flow from NodeJS runtimes.
const flow = require("flow-lib-nodejs");
const Flows = flow.Flows
const withFlow = flow.withFlow
function helloWorld() {
return "Hello, World!";
}
withFlow({ helloWorld: helloWorld },
() => Flows.currentFlow().supply(helloWorld).get(x => console.log(x)));