CyberChef/src/js/views/html
toby 343d350af8 Initial async work
Operations can now:
1) return their progress directly.
2) throw an error.
3) (ADDED) return a promise:
  + that resolves to their progress.
  + that rejects an error message (like throwing but asynchronous).
  For an example see the new operation "Wait" (Flow Control)

Added a flow control operation "Wait", which waits for the number of
milliseconds passed in as its argument. It is a fairly useless operation
but it does demonstrate how asynchronous operations now work.

A recipe like:
```
Fork
Wait (1000ms)
```
will only wait for 1000ms (each wait runs at the same time as each
other).

I have not looked into performance implications yet, also this code is
probably more complicated than it needs to be (would love help on this).
2017-02-14 14:54:51 -05:00
..
ControlsWaiter.js Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
HighlighterWaiter.js Variable names changed from underscore to CamelCase. Eslint rules updated. #64 2017-01-31 18:24:56 +00:00
HTMLApp.js Initial async work 2017-02-14 14:54:51 -05:00
HTMLCategory.js Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
HTMLIngredient.js Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
HTMLOperation.js Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
InputWaiter.js Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
main.js Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
Manager.js Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
OperationsWaiter.js Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
OptionsWaiter.js Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
OutputWaiter.js Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
RecipeWaiter.js Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
SeasonalWaiter.js Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
WindowWaiter.js Variable names changed from underscore to CamelCase. Eslint rules updated. #64 2017-01-31 18:24:56 +00:00