DEV Community

Discussion on: How to handle a nodeback in ReasonML

 
yawaramin profile image
Yawar Amin

My apologies, I should have tested that example more thoroughly. I've now updated my previous comment with a really working code sample. You can run it like this:

$ bsb
$ node
> const {test} = require('./src/Main.bs')
> test()