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

feat: implement spinner #13

Merged
merged 2 commits into from
Jan 22, 2024
Merged

feat: implement spinner #13

merged 2 commits into from
Jan 22, 2024

Conversation

roele
Copy link
Collaborator

@roele roele commented Jan 19, 2024

A first functional draft for #12.

What i struggle with is passing a function to run with arbritary number of parameters/return types. These generic trait definitions seem a bit cryptic and hard. Not sure if the current approach is good enough. One could borrow by using a move || {} though.

@jdx jdx linked an issue Jan 20, 2024 that may be closed by this pull request
@jdx
Copy link
Owner

jdx commented Jan 20, 2024

yeah it's definitely tricky dealing with the send, sync, 'static stuff. I think what you have here is a good start though.

@roele roele marked this pull request as ready for review January 22, 2024 16:00
README.md Outdated Show resolved Hide resolved
src/spinner.rs Outdated Show resolved Hide resolved
@roele roele merged commit fc34061 into jdx:main Jan 22, 2024
1 check passed
@roele roele deleted the issues/spinner branch January 22, 2024 18:54
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.

add spinner
2 participants