We can use plz-event-source (once it's on GNU ELPA) alongside streaming hyper-gateway API calls to implement the following features:
hyperdrive-consult-find-file
: Stream drive.list('/', { recursive: true })
to Consult and then filter all files in a hyperdrive with Emacs completion.hyperdrive-consult-search
: Use async generator in hyper-gateway to stream a list of search results into Consult (see this paste)In this reddit thread, Daniel Mendler explains the
consult
stack.This blog post provides another example of an async consult source.
This reddit thread may be relevant.