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
0 answers

Do action after TTS has finished; and no overlapping execution of TTS please

Following the advice from https://stackoverflow.com/a/22875621/9023855 why isn't my code working as expected? My plan is to auto-click button. private boolean threadDone = true; public void setTimer(final boolean shown_answer, final TextToSpeech…
Polv
  • 1,918
  • 1
  • 20
  • 31
0
votes
2 answers

Node: For-loop delay inside Promise-chain

My Node application sends invoice data to an API and I would like my application to send the data in series / wait a while after each invoice post, because the API server is blocking the requests if there are over 20 in a second. I think one way…
Mulperi
  • 1,450
  • 1
  • 14
  • 24
0
votes
1 answer

How to call a function in ASP.NET automatically after a certain time has elapsed?

Let's say I have a Label on my page. In PageLoad() it's Text parameter is set to "This is my first text". After, for example, 1 minute I want this Label to change it's text parameter to "This is my second text" (completely automatically, without…
Spiro Krasic
  • 75
  • 2
  • 7
0
votes
0 answers

delaying execution of commands until some condition is met

I have a class Node: class Node { public string Name { get; private set; } public Node Parent { get; private set; } ... // some more fields and methods } At the start of my program, I have some Node objects whose Parent fields are all…
Kjara
  • 2,504
  • 15
  • 42
0
votes
0 answers

Execution Delayed of a query with good execution plan

One form of my application in very slow . In this form 2 query be executed. Trace level log of server show that first query is slow . in PL SQL when I execute query with same parameter , response time is less than 1 second. execution plan of…
0
votes
1 answer

using delay between actions

I was trying to communicate python to an arduino using pyserial library. In the code below i am just showing few functions from where i am trying to switch on or off LED based on value returned by these functions. What i want to do is when python is…
mudaliyar
  • 21
  • 1
  • 9
0
votes
2 answers

Android Getting public Bitmap function return before Delay ended

So, I have a public static Bitmap with a delay of 2000 mils inside of it. My problem is that I get return before code that is getting delayed is executed. To give you the idea of my function structure: public static Bitmap…
Oleksandr Firsov
  • 1,428
  • 1
  • 21
  • 48
0
votes
1 answer

Storing an unevaluated ActiveRecord query in DelayedJob

I'd like to schedule a delayed job that contains an active record query (or conditions) that will be evaluated when the job is actually run. Ex. I have a custom Job that is generating and sending notifications to users. I want to send…
rmw
  • 1,253
  • 1
  • 12
  • 20
0
votes
1 answer

slow RS - SQL Server 2008 express

I'm having an issue with Reporting Services. Whenever I start the application, loading of the report list and going through folders takes a lot of time (sometimes more than 10 mins), also goes for entering the report itself. After first report is…
kjurkovic
  • 4,044
  • 2
  • 23
  • 28
0
votes
2 answers

Why putting a DispatchQueue delay function inside another DispatchQueue has no effect in Swift

Expected Behavior: For i = 0, print statement called after 0 second . For i = 1, print statement called after 1.1 seconds For i = 2, print statement called after 2.2 seconds Actual Behavior: Print statement called after 0, 1, 2, 3 seconds…
Elton Lin
  • 77
  • 1
  • 10
0
votes
1 answer

Start React root render after Server fetch success

I want to fetch some data (like translations/initial settings etc.) and after that launch an application How do I should do that in the best way? Now I am rendering a spinner and after the fetch success I re-render React root. But I don't sure that…
Velidan
  • 5,526
  • 10
  • 48
  • 86
0
votes
0 answers

Delay a http-request without javascript

world! I would like to ask if there is a way to delay forwarding to another page on a control click without javscript? I am working on a webapp that shall work with and without JS. For the non-JS version, I would like an animation (e.g. 'index-out')…
randmin
  • 818
  • 8
  • 16
0
votes
3 answers

jQuery - link working *only* after some time

I have a link: Here's my link This is not a normal clickable link, it's coded in jQuery like this: $("#link").hover(function(e) { e.preventDefault(); $("#tv").stop().animate({marginLeft: "50px"}); $("#tv…
fomicz
  • 1,752
  • 7
  • 25
  • 33
0
votes
0 answers

Repeat doing something with push button in Android

I wnat to do something after pressing button in android But i want automaticlly it run. do I use while() and sleep() in onClick() ?????? or use handler? private Button b_get; b_get = (Button)findViewById(R.id.get); …
m-tech
  • 338
  • 2
  • 14
0
votes
1 answer

Add arguments one by one to a delegate then execute it

Yesterday I wanted to create an ExceptionHandler class to which for example we could pass: the exception the method where that happened the parameters given to that method The ExceptionHandler would implement a custom business logic and re-execute…
Jérôme MEVEL
  • 7,031
  • 6
  • 46
  • 78