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

fix: return early to avoid errors with no asyncfns #616

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

delphinus
Copy link
Contributor

When no async functions are supplied, it will be stuck because rx() waits forever. This diff fixes it.

When no async functions are supplied, it will be stuck because rx()
waits forever. This diff fixes it.
@delphinus
Copy link
Contributor Author

I found this in fixing errors in: nvim-telescope/telescope-frecency.nvim#244

@Conni2461
Copy link
Collaborator

thanks :)

@Conni2461 Conni2461 merged commit ec28942 into nvim-lua:master Aug 19, 2024
7 checks passed
@delphinus delphinus deleted the fix/joining-zero-asyncfns branch August 19, 2024 05:24
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