itinance/react-native-sha256

Feature request: Optionally off the main UI thread.

mfbx9da4 opened this issue · 0 comments

Currently executing the code will block the main UI thread. It would be great to avoid doing that by spawning a thread. For ios should be as simple as dropping in a line like this

dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^(void){