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

example for a non-sync non-send variables. #340

Closed
wants to merge 1 commit into from

Conversation

ratmice
Copy link

@ratmice ratmice commented May 13, 2022

I haven't actually tried e.g. set up an editor to run this...
This is mostly extracted a minimal and useless example from my actual project...
But I tried to give ample warning that this is basically a workaround for a special situation.

This may or may not actually be something you want to include in the repository, which is fine.
If not, it can be here for people to find.

You don't really want to use this unless you have to.
Even then you may just want to use a non-async lsp.

But this example shows you can still use tower-lsp,
albeit with some amount of pain even in such situations.

You don't really want to use this unless you have to.
Even then you may just want to use a non-async lsp.

But this example shows you can still use tower-lsp,
albeit with some amount of pain even in such situations.
@ratmice
Copy link
Author

ratmice commented May 14, 2022

I'm not sure that this one can be runtime_agnostic because of the reliance on mpsc which are async on one end and used in sync on the other. I'll have to look through it as i'm not familiar with the feature.

@ratmice
Copy link
Author

ratmice commented May 30, 2022

Going to close, as I don't really have time to figure out how to make it work in runtime-agnostic,
and hopefully people can still find it from the appropriate issues, if there is interest in including it though,
let me know/we could reopen and try and fix up the remaining feature issues...

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.

1 participant