Questions tagged [delayed-execution]

Delaying the execution of a program or a procedure by a given amount of time, or until the results are explicitly requested.

Delaying the execution of a program or a procedure by a given amount of time, or until the results are explicitly requested.

279 questions
0
votes
2 answers

Executing asynchronous functions serially with a delay

originally I have something like this (ads is an array) : for (var i = 0; i < ads.length; i++) { asynchMeth(ad[i]); } asyncMeth is an asynchronous method that calls the server (I cannot make it synchronous). But I would like that…
minchiya
  • 603
  • 1
  • 7
  • 13
0
votes
2 answers

curl post to php file with sleep() function included

I want to send an email with automatted content from a login script, but it should be sent with a delay of some (randomized) seconds (for sending one part of a key pair). Thats why I was trying to use curl, which generally works, instead of using…
ddlab
  • 918
  • 13
  • 28
0
votes
1 answer

delayed method calls using delegates

My question is a bit similar to these questions: replay a list of functions and parameters C# delegate for two methods with different parameters My goal is to store function calls with their parameters in a list, to call them in a different thread,…
elaspog
  • 1,635
  • 3
  • 21
  • 51
0
votes
0 answers

Performance of cancelPreviousPerformRequests

I use performSelector:withObject:afterDelay: to delay a layout operation so that it's not done multiple times. Normally, I do something like this (example only): - (void) setViewNeedsLayout{ if (!_viewsNeedLayout){ _viewsNeedLayout =…
Aaron Hayman
  • 8,492
  • 2
  • 36
  • 63
0
votes
2 answers

SQLite : How to group UPDATE queries and delay changes after?

The context : I have a SQLite database with a table looking like this : CREATE TABLE items (item TEXT, position INTEGER) This table contain several million of entries. The column position is indexed. My front-end occasionally build a bunch of…
user2924056
0
votes
2 answers

ANDROID : is it possible to delay onStop?

do you know if it is possible to delay the onStop method once it has been fired? I'm overriding the onStop() method, and I want to add a small delay before it calls super.onStop(). (I have an activity that displays a view -dialog with a surface…
0
votes
0 answers

netTcpBinding data transfer freezes for some time periodically

I have two applications WCF client and WCF server running on same machine. Client calls on server for image data, server prepares few images and gives those images to client and client displays them. Client application make calls to server every…
harik
  • 563
  • 2
  • 5
  • 16
0
votes
1 answer

Workflow Foundation - Pending Timers on Server Restart

I have a workflow built in a way that it has delay activity which causes it to persist, and after delay has expired, a notification is sent. Workflow is exposed via Workflow Services. This works perfect except for the scenarios when the server…
0
votes
1 answer

JavaScript: Initializing inner variable after initializing object

Update: rewriting question because original question had false assumptions (I was running code in a console that had already initialized the variables I thought were undefined). This makes sense: var obj = { 'whichScope': a }; obj.whichScope;…
Micah
  • 21
  • 6
0
votes
1 answer

Why my iPhone app has a delayed loading?

I noticed some iPhone apps give you the title screen instantly. Then there are some apps that gives you a black/blank screen for a brief moment. I have the latter issue, but its lasting about 2 seconds. I would like to display a PNG image (over 200…
AlvinfromDiaspar
  • 6,611
  • 13
  • 75
  • 140
0
votes
1 answer

Xajax and Jquery

I have a page where the pagination is implementated in xajax. Each row has 3 columns for radio button where user can select (see the sample layout attached to figure out). Then when I selected from page 1 and moved to page 2, the value should be…
user1149244
  • 711
  • 4
  • 10
  • 27
0
votes
2 answers

Keydown processes previous character instead of current one

I try to create an MS-Dos emulation window with jquery and ajax. It works well but when I type a word or press enter, the script is one character too late on display (no character displayed on first press then, for each next keydown, it shows the…
Baylock
  • 1,246
  • 4
  • 25
  • 49
0
votes
2 answers

Display delayed with Flexslider 2

I'm working on my own portfolio (which is not complete now), and i'm having issues with Flexslider 2 (by Woothemes). See here : http://www.gaelle-fernandez.fr/Folio2012/#Works If you click on a work (any image), a slickbox will open, with a slider…
Gaelle
  • 614
  • 1
  • 7
  • 30
0
votes
1 answer

No internet connection: method call into another dll takes more than 15 seconds

I'm facing the following issue I just can't explain: I have two dlls (DllA and DllB). When I call the first time from DllA into Dllb "ObjectFromB.aMethod()" everything works fine and fast. However, when I call another method from DllA in DllB…
Dunken
  • 8,481
  • 7
  • 54
  • 87
0
votes
1 answer

Delay between .load() and $(window).bind('load')

I'm having a problem with a delay caused between the completion of: var href = $('.mainNav').data('href'); $('#slideshow').load(href); This calls up a file which only contains an unsorted list and places it as the content of #slideshow. That…
1 2 3
18
19