Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example of passing struct to task function #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

morisja
Copy link

@morisja morisja commented Mar 5, 2023

Thanks for the very useful library!
I needed to pass more than a single integer to the task, this PR demonstrates passing a struct. I also updated gitignore to avoid committing the build artifact.

@Pithikos
Copy link
Owner

thanks @morisja for this. However I think it's best to keep examples separated as to make it friendly for beginners and less overwhelming.

I suggest if you could move your example as a separate one into ./examples unless you have another suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants