News for hackers. Stuff that matters.
Re:Clojure Scripting on Node.js by agentwiggles on Friday August 05, 2022 @10:32AM (#32356639)
I'm not sure if this applies to nbb, but there's a command line flag for the node repl (`--experimental-repl-await`) which allows you to use await in the repl, allowing you to kind of sidestep the normal annoyance of handling promises.
Re:Clojure Scripting on Node.js by Borkdude on Friday August 05, 2022 @11:30AM (#32357585)
Nbb has nbb.core/await for top level await which is handy for REPL usage. Furthermore it has promesa which is a library for dealing with promises.