Andrew J Westlake

Results 95 comments of Andrew J Westlake

`pyo3-asyncio` still needs some time and development to mature. There are currently a few things that I think need to be addressed: - Documentation and testing for `pyo3-asyncio` within native...

Oh, yeah my bad. I made issue #75 when I made the pull request, but i forgot to link it.

I'm joining this kinda late, but defining a trait for a View or a widget can definitely work alongside the current system. I don't think anything needs to change, especially...

In my example, update is a function that takes a moved self. I believe this means that update is still a pure function and therefore is no different from how...

Oh ok, maybe i understand now. The problem is not because of side effects, but because the Counter part of the model is now coupled to its view function?

Yeah I had a similar thought. Does something like this look correct to you or is there a chance that a pointer could change between `self.get()` and `other.get()`? ```rust pub...

Ok, awesome! Also, thanks for the quick responses! I'll just use this trait for now so feel free to close this issue. It'd be great to have something like this...

What versions of Python and pyo3-asyncio are you using? I know recently we put in a patch that should make cancellation work. I just plugged your code into a test...

I know your project is set up a bit different. I've got some family stuff going on for most of the day, but if i find time, Ill play around...

Ah ok, my bad. I think I know what's wrong now. When we added support for cancellation, what we really did was fix a bug where the runtime would panic...