jazz icon indicating copy to clipboard operation
jazz copied to clipboard

Which package to be required should be configurable

Open Arnaz87 opened this issue 6 years ago • 3 comments

I think the specified package should return a function which accepts the request as an argument and returns the response

Arnaz87 avatar Oct 15 '18 03:10 Arnaz87

This should be IMO the default behaviour of actix_lua's on_lua method, instead of running the passed code on every handle it should that once and use the returned function as a handler

Arnaz87 avatar Oct 15 '18 04:10 Arnaz87

I don't understand. can you explain differently? can you link to lines of code?

naturallymitchell avatar Oct 15 '18 08:10 naturallymitchell

The init file should return a function and that function be used as the handler for actix requests. (It's fixed already)

Arnaz87 avatar Nov 08 '18 19:11 Arnaz87