Yep...and a useful thing.  It isn't really synchronous but the implementation, which uses a Promise, makes it "work" like a synchronous call with the ".then" method (which I think is just a callback).

Most browsers support it.

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java
Twitter - Sys_i_Geek IBM_i_Geek

On 1/27/2019 7:17 PM, Booth Martin wrote:
Is Javascript's fetch a thing?  Is this really a new and improved way to deal with synchronous needs?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.