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
Hey, I am just trying to port (I guess) some moleculer service from Javascript, granted I know just a basics in Rust and in general I am below the 10k lines ever written, so pardon if the question is stupid.
it does not appear to be the case in your Rust implementation, I know that due to borrow checker, this might not be possible, especially with tokio threading.
But I would still like to ask if I could get some assistance how to do this:
I figure out most of it, but the currency.created event is beyond my knowledge, since global variables is tricky think to do, do you know any way, how could I store the info, which should go to ctx.options.coin?
Thanks and sorry for being newbie.
The text was updated successfully, but these errors were encountered:
Hey, I am just trying to port (I guess) some moleculer service from Javascript, granted I know just a basics in Rust and in general I am below the 10k lines ever written, so pardon if the question is stupid.
However in the moleculer-js, you can assing certain parameters to context
https://moleculer.services/docs/0.14/context.html
it does not appear to be the case in your Rust implementation, I know that due to borrow checker, this might not be possible, especially with tokio threading.
But I would still like to ask if I could get some assistance how to do this:
I have this piece of code:
I figure out most of it, but the
currency.created
event is beyond my knowledge, since global variables is tricky think to do, do you know any way, how could I store the info, which should go to ctx.options.coin?Thanks and sorry for being newbie.
The text was updated successfully, but these errors were encountered: