mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 16:51:31 -04:00
Async operation code tidy.
This commit is contained in:
parent
11e06eeb75
commit
9f75077fe8
5 changed files with 21 additions and 48 deletions
|
@ -225,8 +225,8 @@ var FlowControl = {
|
|||
* @returns {Object} The updated state of the recipe.
|
||||
*/
|
||||
runWait: function(state) {
|
||||
var ings = state.opList[state.progress].getIngValues(),
|
||||
sleepTime = ings[0];
|
||||
var ings = state.opList[state.progress].getIngValues(),
|
||||
sleepTime = ings[0];
|
||||
|
||||
return new Promise(function(resolve, reject) {
|
||||
setTimeout(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue