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 /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/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)))