jazz
jazz copied to clipboard
Make the handler accept other messages than the http_request
Currently the lua actor only accepts http_request messages, but that heavily limits it's functionality, so torchbear apps cannot schedule stuff, cannot have a repl, cannot create new actors, etc.
you're talking about the bridge?
https://github.com/foundpatterns/torchbear/blob/f5a0b67aa5f9b3be7d92037ee4add33a507dfbad/src/lib.rs#L94-L117
#74 #25 I think you're using "handler" differently than how I intended, as specifically an extension of a binding that continues passing data to LuaActors during runtime.
this is the plan for: #19 #10
https://github.com/foundpatterns/torchbear/commit/b81bcc2e82d38bb0ac6b396843654eada2370b14 advanced it.
#121 is related
See also #168