Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
async
- Page 1
500 Internal Server Error: Need to Hire Developers in USA
Programming
3 Weeks Ago
by YashSmith
… Express.js. app.post('/submit',
async
(req, res) => { let data = await processData(); // Possible
async
issue? res.send(data); }); …Could it be an
async
error or a missing middleware? Looking…
Handling Real-Time DOM Sync in SSR React App with Dynamic Nested Routes
Programming
Web Development
1 Week Ago
by Neil_brown001
… state with real-time updates. Preventing unnecessary re-renders in
async
/reactive flows. Managing hydration-safe global state across dynamic routes…
Re: How to Implement Lazy Loading for Faster Web Portals
Programming
Web Development
1 Month Ago
by Dani
… that we do here at DaniWeb is to use the `
async
` and `defer` attributes on `<script>` HTML tags, so… be ready, or relies on other Javascript files, and use `
async
` if you want the Javascript file to be executed the…
Async/await in node.js MySql and array - a total struggle
Programming
Web Development
5 Years Ago
by bprosic
… = express.Router(); const db = require('../../config'); var
async
= require('
async
'); function readDb(nameOfTableInDb, someArray) { // reuse a conneciton…function (req, res, next) { var someArray = []; var run =
async
() => { const data = await readDb("tblcategories", someArray);…
Re: Async/await in node.js MySql and array - a total struggle
Programming
Web Development
5 Years Ago
by bprosic
Solved like this.
async
function showAllFilters(qry, arrayParams) { // params is array[] let result; try { …
Async communication
Programming
Software Development
12 Years Ago
by anisha.silva
I have a component TM and it ‘s responsibility is divided to A and B. there is another component query client. Between these component there Is an
async
communication. I represented the query client and the TM as classes how do I represent the
Async
communication?
Re: Async communication
Programming
Software Development
12 Years Ago
by anisha.silva
ok, so i have a component UClient and another component TM. between these 2 i have the
async
communication. so what you are suggesting is to create a calss for the
async
communiation. but how will the data being sent and received handles via the class will you be able to point to a tutorial appreciate it thanks
Async and await ... How to be asynchronous?
Programming
Web Development
2 Years Ago
by Dani
… for Googlebot UA to send tracking data * @param {Event} event */
async
function handleRequest(event) { let request = event.request let userAgent = request… this code together from bits and snippets of using await
async
that I found on the web, and now I'm…
Re: Async and await ... How to be asynchronous?
Programming
Web Development
2 Years Ago
by Naor
…) => { return new Promise(function (resolve) { setTimeout(
async
function () { const date = new Date().toLocaleString(); await TEST.… with waitUntil */ addEventListener('fetch', event => { event.respondWith((
async
(event) =>{ // set timer const timer = 10000;…
Re: Async communication
Programming
Software Development
12 Years Ago
by skatamatic
Your question doesn't really make a whole lot of sense but I'll take a stab at it. You are asking how to represent
Async
communication, I think. Seeing as C# is an object oriented language, you will need to represent it as an object (a class) as well.
Re: Async communication
Programming
Software Development
12 Years Ago
by skatamatic
….com/en-us/library/system.threading.aspx) and do the
async
stuff yourself. Are you familiar with multithreading and syncronization techniques…
How to the async() coroutine builder in Kotlin
Programming
Software Development
3 Years Ago
by dimitrilc
…child** of Job, it provides extra functionalities. ##
async
() Usage ## Because `
async
()` does not return the underlying value directly to us… = coroutineScope { //9 val deferred: Deferred<String> =
async
{ println("waiting") delay(5000L) "result" }…
[Google Mock] Mocking Async Calls
Programming
Software Development
10 Years Ago
by Genessis_1
… service::doSomething 6. apples::start //
async
7. apples::create_apples //
async
8. eggs::start //
async
9. eggs::create_eggs //
async
10. service::doAnother 11. eggs::…pack_eggs //
async
12. apples::pack_apples //
async
I checked google…
Re: Need help with nested async API calls
Programming
Web Development
5 Years Ago
by pankaj_patel
…/todos/1'}) /*************/ /* Main Function e.g. Event Handler */ const doAction =
async
() => { const fileInfo = await uploadFile(); console.log(fileInfo) if(!fileInfo…/pen/gObmwmp?editors=0012 I wrote about the recepies of
async
await here https://time2hack.com/5-code-recipes-asynchronous-code…
Need help with nested async API calls
Programming
Web Development
5 Years Ago
by zao2k
… stuck with one because it basically contains 3 calls. All
async
. Step 1 is pushing a file to the service and… main(){ //Pseudo code calling
async
step1 exit if step1 failed calling
async
step2 exit if step2 failed calling
async
ste3 exit if step3…
Confused by JS async for script tag in HTML head
Programming
Web Development
1 Year Ago
by Dani
…HTML <head> is: <script
async
src="https://www.googletagmanager.com/gtag/js?…on the page. I'm confused by how
async
works in this context. How does the page… the `gtag()` calls until after the
async
JS has completed loading? I thought that by… adding
async
, it's non-blocking? Doesn't that…
Re: Confused by JS async for script tag in HTML head
Programming
Web Development
1 Year Ago
by Dani
… Google ads? This goes in the document header: <script
async
src="https://securepubads.g.doubleclick.net/tag/js/gpt…; So, following what I'm understanding from you, first the
async
tag that loads gpt.js loads on its own time…
Re: Confused by JS async for script tag in HTML head
Programming
Web Development
1 Year Ago
by Dani
… or so and everything I’m seeing says to use
async
if you’re not manipulating the DOM and to use… if you are. Google recommends in their documentation to use
async
for their ad server (which injects ads into the DOM…
Re: Confused by JS async for script tag in HTML head
Programming
Web Development
1 Year Ago
by jkon
… Publisher Tags. If I had to chose between defer and
async
in a tag in the original HTML of a page… e.g. fetching css and applying them. Of course with
async
in the original HTML in a tag things are worse…
Re: Confused by JS async for script tag in HTML head
Programming
Web Development
1 Year Ago
by Dani
… some more, and I'm leaning towards *not* switching from
async
to defer for the Google Ad Manager tag. Firstly, when… (which I'm not so sure I do), by using
async
, the Google servers can do some of that work simultaneously…
Re: Webservice adding async to my method?
Programming
Software Development
10 Years Ago
by Ketsuekiame
… called `webService.GetMyString().Result;` If you decide you *can* use
async
, you could simply call `string myString = webService.GetMyString();` and the… happen asynchronously **until the result is required**. e.g. public
async
Task CallServiceAndGetString() { string myString = webService.GetMyString(); // Web Service call gets…
Re: Webservice adding async to my method?
Programming
Software Development
10 Years Ago
by Ketsuekiame
Oh you mean the old style
Async
! Sorry, I thought you meant the …quot;. To answer your previous question about the
async
methods, you should be able to untick some …generating the client code that says "Generate
Async
Methods" or something similar. I'm not…update controls on the UI thread and the
ASYNC
return event may not be. As such you…
Re: Confused by JS async for script tag in HTML head
Programming
Web Development
1 Year Ago
by jkon
… to call any of the gtag() calls until after the
async
JS has completed loading? Short answer , it doesn't . What…
Re: Confused by JS async for script tag in HTML head
Programming
Web Development
1 Year Ago
by Dani
… are the same. I tried switching Google Ad Manager from
async
to defer, and PageSpeed Insights showed a much shorter blocking…
Re: Confused by JS async for script tag in HTML head
Programming
Web Development
1 Year Ago
by Dani
…. Exact same HTML/JS/CSS code on both. Both use
async
to load Google Analytics and Google Ad Manager: [Yours](https…
Re: Confused by JS async for script tag in HTML head
Programming
Web Development
1 Year Ago
by Dani
… I think the PHP upgrade, plus switching Google Analytics from
async
to defer, should help there as well.
Re: Confused by JS async for script tag in HTML head
Programming
Web Development
1 Year Ago
by Dani
… 2 weeks ago (per this thread) was Google Analytics from
async
to deferred. Now, Desktop is passing and Mobile is failing…
PictureBox async load
Programming
Software Development
15 Years Ago
by mpegjohn
… = 300 pictures. My initial thought was to just use the
async
load of the pictureBox. However as these are potentially large… on the number of threads? Would just using the pictureBox
async
load be OK anyway? Regards, John.
jQuery AJAX - async option
Programming
Web Development
14 Years Ago
by Acute
… }).responseText; alert(text); [/CODE] but when I add option "
async
: false": [CODE=javascript] var text = $.ajax({ type: "POST…",
async
: false, url: "registration.php", data: "email="…
Keeping a async socket connected
Programming
Software Development
14 Years Ago
by zachattack05
… just don't see it? Should I be using an
async
socket if I want to keep the connection open? I… fail to see the logic in using an
async
socket server if the server will only receive one message…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC