;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\207" [require request deferred] 2) #@623 Return deferred object associated requesting URL with ARGS. Following deferred callback takes a response object regardless of the response result. To make sure no error occurs during the request, check `request-response-error-thrown'. Arguments are the same as `request', but COMPLETE callback cannot be used as it is used for starting deferred callback chain. Example:: (require 'request-deferred) (deferred:$ (request-deferred "https://httpbin.org/get" :parser 'json-read) (deferred:nextc it (lambda (response) (message "Got: %S" (request-response-data response))))) (fn URL &rest ARGS) (defalias 'request-deferred #[385 "\300\301!\302\303\"\304\305#\262\306\307#\210\207" [deferred:new identity apply-partially #[385 "\300\301\302\"\"\207" [deferred:callback-post plist-get :response] 7 "\n\n(fn D &rest ARGS)"] plist-put :complete apply request] 8 (#$ . 158)]) (provide 'request-deferred)