Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #33044
| Path | csiph.com!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | Richard Maher <maher_rjSPAMLESS@hotmail.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Solved: synchronizing asynchronus request |
| Date | Tue, 18 Apr 2017 21:39:44 +0800 |
| Organization | Aioe.org NNTP Server |
| Lines | 22 |
| Message-ID | <od54v2$1pt8$1@gioia.aioe.org> (permalink) |
| References | <ocv32h$248$1@shakotay.alphanet.ch> <od3fqe$1bi1$1@gioia.aioe.org> <od4o09$og4$1@shakotay.alphanet.ch> |
| NNTP-Posting-Host | jOhPn0KFjrxwuMc9OPMmCw.user.gioia.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| Xref | csiph.com comp.lang.javascript:33044 |
Show key headers only | View raw
On 18-Apr-17 5:58 PM, Une Bévue wrote: > Le 18/04/2017 à 00:32, Richard Maher a écrit : >>> >> Could Promises help you here? >> >> https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise/all >> >> > > Yes, u'r right ! > Glad it worked. What I used to do, and may well do again, is instantiate and object/closure as a counting semaphore that is only referenced by one instance of each of your asynch routines. When the limit or total is reached a final callback is called. I'm still ambivalent about promises but they appear to be trying to usurp asynch and can be easier to read I guess.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
synchronizing asynchronus request Une Bévue <unbewusst.sein@fai.invalid> - 2017-04-16 08:30 +0200
Re: synchronizing asynchronus request Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-04-16 11:09 +0100
Re: synchronizing asynchronus request Une Bévue <unbewusst.sein@fai.invalid> - 2017-04-16 18:38 +0200
Re: synchronizing asynchronus request Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2017-04-18 06:32 +0800
Solved: synchronizing asynchronus request Une Bévue <unbewusst.sein@fai.invalid> - 2017-04-18 11:58 +0200
Re: Solved: synchronizing asynchronus request Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2017-04-18 21:39 +0800
Re: Solved: synchronizing asynchronus request Une Bévue <unbewusst.sein@fai.invalid> - 2017-04-19 07:10 +0200
Re: Solved: synchronizing asynchronus request "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-04-19 12:17 +0200
csiph-web