Comments (4)
Belay v0.5.0 has been released, which includes this generator support. Closing this issue for now. We can re-open/start a new issue if you find this hasn't been fully resolved. Thanks!
from belay.
I agree this would be nice to have,and perfectly fit many belay use cases !
from belay.
Thanks for the interest! I should have some time in a few days to work on this, hopefully I'll figure out a way to support generators.
from belay.
@pak-man @BearXP checkout the newly pushed generators
branch. I still have to polish it up, but see if it works for your use cases (I added a 10th example using your demo code in this issue). I'm going to try and merge (and do a release) sometime over the next day or two.
from belay.
Related Issues (20)
- global scope vars can't be accessed if reassigned in task HOT 3
- Bug: `setup` with arguments fails HOT 5
- API for interrupts / callbacks HOT 18
- v0.20.0 deps and belay select issue HOT 6
- Can one return bytes or bytearray from task decorated function? HOT 5
- How to control memory allocation HOT 5
- LED Example does not run HOT 3
- Using belay in a class HOT 10
- AttributeError: type object 'Executer' has no attribute 'setup' HOT 2
- Find available devices HOT 13
- `Yield` returns `None` HOT 4
- Using Pimoroni libraries HOT 4
- Timed generator helper function HOT 3
- Injecting methods HOT 9
- Send event/request from board/device HOT 5
- OSError: could not get source code HOT 3
- sync uses wrong path `\` characters when copying files to /pyboard while Python 3 is running on windows machines. HOT 13
- Unable to synch with CircuitPython 8.0 on Trinkey HOT 14
- CircuitPython remount in boot.py makes drive readonly to PC. HOT 3
- ImportError no module named analogio HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from belay.