Closed
Description
We could add another mechanism (beside GUI or VimResize) to allow running tasks to call back when they complete using a vim 8 job. This would enable using adapters for foreground tasks even when remote-expr
is not available.
I was thinking about something like:
- mkfifo request.file.callback,
- run a new job that waits on that fifo (such as head), with dispatch#complete as its exit_cb,
- return
echo > request.file.callback
fromdispatch#callback
.
This would require an OS supporting FIFOs, I’m not sure how portable this is, but I imagine that vim is used GUI-less mostly on unix.
Would that make sense or do you think this is useless?
Metadata
Metadata
Assignees
Labels
No labels