Function: consult--with-async

consult--with-async is a macro defined in consult.el.

Signature

(consult--with-async ASYNC &rest BODY)

Documentation

Setup asynchronous completion in BODY.

ASYNC is the asynchronous function or completion table.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defmacro consult--with-async (async &rest body)
  "Setup asynchronous completion in BODY.
ASYNC is the asynchronous function or completion table."
  (declare (indent 1) (debug (symbolp body)))
  `(consult--with-async-f ,async (lambda (,async) ,@body)))