-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
[Feature Reqeust] General Function to build async candidates #2110
Comments
Nice idea. And the code looks good. Can you post a full I think it would be nice to:
|
My idea is to introduce such API. (defun ivy-build-async-candidates (fetcher &optional awaiting-message)
"Build a asynchronous candidates collection for ivy completing session.
FETCHER should accept `ivy--async-callback' as arguements, and call it
each time new candidates arrives with candidates, candidates should be
a string or a list of strings.
AWAITING-MESSAGE will be shown when there's no candidates have been arrived.
"
(error "Unimplemented!")) But there are some problems I encountered and some behaviours I can't confirm.
I think these can be easily done, if we can confirm the choive above. |
We have
counsel--async-command
to call shell command for completion candidates, however this command doesn't suitable for generalized async work. E.g.url-retrieve
.I try a beta version of async callback to insert candidate to current ivy completing session
The text was updated successfully, but these errors were encountered: