Rust library for Calcit runtime.
currently 3 APIs are provided:
wss.core/wss-serve!
{} (:port 9000)
fn (income)
println income
wss.core/wss-each! $ fn (id)
wss.core/wss-send! id $ str "\"hello from: " income
Install to ~/.config/calcit/modules/
, compile and provide *.{dylib,so}
file with ./build.sh
.
Run buildin demo with:
cr -1 --init-fn wss.test/demo!
https://github.com/calcit-lang/dylib-workflow
MIT