Replies: 1 comment
-
I found there's |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there, I'm working on integrating napi for my library, however I'm a bit confused how I can get boxed functions to work on
3.0.0-alpha.33
.I thought maybe I could use
JsFunction
but it says it's deprecated and doesn't implement Debug/Clone. There's alsonapi::bindgen_prelude::Function
but I'd rather not introduce a lifetime, and it also doesn't implement Debug/Clone.Is there some other way I could use functions in a struct?
Beta Was this translation helpful? Give feedback.
All reactions