Questions tagged [pause]

Executing pause operations on application, game or process

Pause refers to a temporary halt in time for some execution of a process.

As an example, the pause command used in DOS will stop playing audio or video, with the possibility to continue in the future (in the case of video: with a still image).

It may also refer to hardware used to initiate a pause such as the Pause/Break key (the secondary function of the PgUp key on some computer keyboards) and the Pause key or symbol on media players.

598 questions
5
votes
2 answers

R language, pause loop and ask user for continue

i have an idea to pause loop at some iteration and ask "user" for some answer. for example some_value = 0 some_criteria = 50 for(i in 1:100) { some_value = some_value + i if(some_value > some_criteria) { #Here i need to inform the user…
Demaunt
  • 1,183
  • 2
  • 16
  • 26
5
votes
1 answer

Swift, SpriteKit - Pause whole script

Is it possible to pause the whole script in GameScene using code from the GameViewController? I do not want to delay/pause the thread. There are multiple activities and functions going on at the same time and I would like to pause everything. I…
mahclark
  • 305
  • 1
  • 2
  • 10
4
votes
1 answer

Using tikz in quarto presentation

I'm trying quarto for my slides and wondering how to use \pause in tkiz code. Minimum working example is below for reference. --- title: "Test Slides" format: revealjs: chalkboard: buttons: false preview-links: auto css:…
MYaseen208
  • 22,666
  • 37
  • 165
  • 309
4
votes
0 answers

How to pause KafkaJS consumer and retry after sometime

I'm using KafkaJS ( https://kafka.js.org ) to connect to a Kafka cluster. My consumers are responsible for processing tasks which can fail at some time and succeed after waiting for a duration (for example, 1 hour). Before this duration, any attempt…
4
votes
1 answer

Pause and Continue a Loop When Press Key in Python

Who can help me on this? Pause Countdown when press "P" Key and continue the Countdown when press "S" key. Until now i have this code, but i cant find the way to solve this. Thanks from multiprocessing import Process import keyboard import…
Carlos Costa
  • 57
  • 1
  • 7
4
votes
2 answers

How do I insert a pause (delay) in my Selenium command line (selenium-side-runner) test?

I'm using selenium-side-runner v 3.11.0 and trying to insert a pause (delay) in my test so that after a click, there is some time before the next action. I have tried this , { "id": "ec6aa5e8-c72b-4bf5-8061-a7a360370923", "comment":…
Dave
  • 15,639
  • 133
  • 442
  • 830
4
votes
5 answers

Video player by Python tkinter, When I pause video, I cannot re-play

I am creating GUI to play video files. The problem is that when I pause video, Play button cannot re-play that video, and I have to select video file again. Note: Since I want to show video in the same tkinter window, I don't use OpenCV imshow…
Mohammad
  • 775
  • 1
  • 14
  • 37
4
votes
2 answers

Pause time between hosts in the Ansible Inventory

I am trying the below task in my playbook. but the pause is not executed. i want the play should be paused for 30 sec once after the each host is deleted. name: delete host from the NagiosXI shell: curl -k -XDELETE…
user9698169
4
votes
2 answers

How to pause for a measured time in Elm?

I am attempting to create a simple web page using Elm which involves displaying an image for a measured amount of time, such as a second or a millisecond. Is there a way to "pause" in Elm? Then I could display, pause, and then remove the image to…
mherzl
  • 5,624
  • 6
  • 34
  • 75
4
votes
1 answer

Jenkins - How to pause queued job's runs and let a new build take priority

Jenkins any version. I have two versions: 1.642.3 or 2.32.3 I have a Jenkins job jobA. Let's assume this job deploys an artifact to a target deploy server. It takes 2 parameters, artifact name and target deploy server. Execute concurrent build is…
AKS
  • 16,482
  • 43
  • 166
  • 258
4
votes
4 answers

Golang pause a loop in a goroutine with channels

I have a function that is launched as a goroutine: func (bt *BlinkyTape) finiteLoop(frames []Frame, repeat int, delay time.Duration) { bt.isPlaying = true L: for i := 0; i < repeat; i++ { select { case <-bt.stop: …
William Poussier
  • 1,628
  • 5
  • 20
  • 30
4
votes
5 answers

HTML video pause when window is minimized

I have a html file that contains a video. I want to add a feature to pause video when the window is minimized or the tab is changed on browser. How can add that feature to my html? I added javascript function but video is still being played in any…
abidinberkay
  • 1,857
  • 4
  • 36
  • 68
4
votes
3 answers

Javascript pause - disable a function until another one finishes

I have two functions, first one selects stuff and the other evaluates it with a delay, like this: function select() { // selecting stuff window.setTimeout(evaluate, 1000); } function evaluate() { // evaluating stuff } The issue is,…
4
votes
1 answer

Android unicode u23F8 (pause symbol) color

I can't change color of the u23F8 (pause symbol). play symbol looks ok and I can change its color playPauseButton = new Button(mContext); playPauseButton.setTextSize(TypedValue.COMPLEX_UNIT_DIP,…
Aray Karjauv
  • 2,679
  • 2
  • 26
  • 44
4
votes
2 answers

Running a .py file in a loop

I am currently trying to run a .py file but in a loop. Just for a test I am using I = 0 while I<10: os.pause(10) open(home/Tyler/desktop/test.py) I = I + 1 I am sure this is a very simple question but I can't figure this one out. I…
TylerTotally
  • 113
  • 1
  • 2
  • 9
1
2
3
39 40