alysivji / finite-state-machine

Lightweight, decorator-based Python implementation of a Finite State Machine
MIT License
111 stars 12 forks source link

asyncio implementation #27

Closed sander76 closed 2 years ago

sander76 commented 3 years ago

Looking at the source code de decorator don't seem to work when wrapping an async function

alysivji commented 3 years ago

Love this idea! After some Googling, it doesn't seem like it would be too much work to implement.

Would love help getting this feature implemented! If nobody picks it up, I'll try to get to it in the next few weeks.

Helpful Resources

liuuuk311 commented 3 years ago

Hey @alysivji love your project! I actually edited to work my asyncio project. It's really easy to implement, I'd like to help you out! Let me know how to procede!

alysivji commented 3 years ago

@liuuuk311 I appreciate you reaching out and offering to help!

I would start by following these instructions to get a development environment set up. Once you have code and tests ready to go, please create a Pull Request and tag me.

The next few weeks are a bit busy but I will do my best to take a look.

alysivji commented 2 years ago

I spent a couple of hours getting this working I started using asyncio at work.

Will implement this functionality as 2 separate PRs with maybe a cleanup PR.

alysivji commented 2 years ago

Closed via #33