Cordova app blocking because of intensive computation

Viewed 280

I am writing a Cordova app where at some point there are computations which are a bit too heavy (digital signatures). As a consequence when the button that launches those computations is clicked the UI freezes for an instant.

The computations are also javascript code, is there any way in Cordova to use a web worker or something equivalent and offload them to another thread?

1 Answers
Related