help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A (probably silly) problem with request.el


From: Nicolas Richard
Subject: Re: A (probably silly) problem with request.el
Date: Mon, 08 Jun 2015 07:36:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Marcin Borkowski <mbork@mbork.pl> writes:
> OK, so now that I played with it for a moment, let me ask more questions
> (not very urgent ones, I'm just curious).  Do I get it correctly that
> the "success" function will be called *at some later point* (assuming
> that the request succeeded)?

Yes.

>                               What Emacs mechanism is used for that -
> timers?

I don't think so.

>          (I assume that the asynchronicity is more or less natural when
> using curl, and then async processes are used, right?  

I don't know the internals of request.el (I never used it, and
discovered it when reading this thread), but that would be my guess too.

>                                                        Does url.el also
> use some external tool?)

Network processes are also asynchronous in emacs. See
make-network-process for the low lever thing, and url-retrieve.

Best,

-- 
Nico.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]