[REBOL] Re: async interface
From: antonr:iinet:au at: 5-Mar-2004 16:40
The advantage of that over a single function, I suppose,
is so that you can derive from a standard base
object (or choose from several easy-to-use example objects),
with the four functions [connect read write close] inside.
I would be happy with that, if that was what you were thinking.
Also, I see that the user code would be simpler, since
you wouldn't need to nest your user code in a switch,
and actually, the error handling when error? :state could
become a function too.
Any other benefits to this approach ?