jazz icon indicating copy to clipboard operation
jazz copied to clipboard

Make the handler accept other messages than the http_request

Open Arnaz87 opened this issue 5 years ago • 4 comments

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.

Arnaz87 avatar Nov 01 '18 04:11 Arnaz87

you're talking about the bridge?

https://github.com/foundpatterns/torchbear/blob/f5a0b67aa5f9b3be7d92037ee4add33a507dfbad/src/lib.rs#L94-L117

naturallymitchell avatar Nov 01 '18 04:11 naturallymitchell

#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.

naturallymitchell avatar Nov 08 '18 18:11 naturallymitchell

this is the plan for: #19 #10

https://github.com/foundpatterns/torchbear/commit/b81bcc2e82d38bb0ac6b396843654eada2370b14 advanced it.

#121 is related

naturallymitchell avatar Dec 07 '18 02:12 naturallymitchell

See also #168

naturallymitchell avatar Nov 02 '21 13:11 naturallymitchell