2021-09-10 20:08:58 +03:00

19 lines
312 B
TypeScript

import { Fluence } from "@fluencelabs/fluence";
import { registerHelloWorld, sayHello } from "./_aqua/hello-world";
async function main() {
await Fluence.start();
registerHelloWorld({
hello: async (str) => {
console.log(str);
},
});
await sayHello();
await Fluence.stop();
}
main();