Replies: 1 comment 6 replies
-
Looks like it is not |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The library I'm developing implements a (or several) long running task that should use the platform sensors at multiple instances. It is not limited to mobile development. As such, I have implemented this in my rust library as a trait defining several methods. Each platform provides an implementation of the trait, and so should the flutter bridge.
So in a nutshell, this is what I am trying to do (I know async traits aren't stable, but at this point, that does not matter):
I'm not particularly sure this can even work. It yields a long error that I'm not sure how to solve (see below).
Has anyone ever tried something like this before?
Beta Was this translation helpful? Give feedback.
All reactions