You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi to all! I appreciate the works done in napi-rs and I want to congratulate with have done this incredible work. I'm sorry for my dummy questions, but I need to understand some things.
I want to call the same "rust" function from "node" side more times holding a state, can been it done?
The "state" will could become heavy and cumbersome time after time, and I wouldn't want to pass it between the two parties every times... I think this will become huge time cost.
I would want hold the state on the "rust" side and manage in "rust" way, without share with "node" site.
I've read in the documentations that "class" would be a solution. It's right? Or exists a more cleaver solution?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi to all! I appreciate the works done in napi-rs and I want to congratulate with have done this incredible work. I'm sorry for my dummy questions, but I need to understand some things.
I want to call the same "rust" function from "node" side more times holding a state, can been it done?
The "state" will could become heavy and cumbersome time after time, and I wouldn't want to pass it between the two parties every times... I think this will become huge time cost.
I would want hold the state on the "rust" side and manage in "rust" way, without share with "node" site.
I've read in the documentations that "class" would be a solution. It's right? Or exists a more cleaver solution?
Beta Was this translation helpful? Give feedback.
All reactions