[REBOL] Async rugby beta 1
From: maarten::vrijheid::net at: 23-Aug-2003 23:56
All,
I just uploaded the beta 1 of fully async Rugby.
Get it at: http://www.koopgoedkoop.net/software/rugbyb1.zip
What is Rugby?
Rugby is an async I/O based RPC request broker. Think REB services.
What is in this beta?
- serving code with one line
e.g. serve 8000 [now]
will serve the now function on port 8000.
On the client side you can do
A: context get-rugby-service tcp://host:port
And then call a/now
Or even better when your in an event loop such as in View:
a/now/async :probe
When the result is back it will get handed to your callback, fully
async!
Check the docs and the embedded sample in the client and server script.
Of course the good ol' rexec layer is also there, async enabled as well
as get-rugby-service actually builds on top of it.
License is GPL for the beta series.
Yeah, I know....
--Maarten