summaryrefslogtreecommitdiffstats
path: root/cmd/nymdrop-reader/gui.go
diff options
context:
space:
mode:
authorGab Virebent <gabriel1@virebent.art>2026-07-01 17:48:59 +0200
committerGab Virebent <gabriel1@virebent.art>2026-07-01 17:48:59 +0200
commit4da18fe598f243c777d330ba9d50f1ecd4382b05 (patch)
tree2c85d6e987b6a1c4226f2aff81e89972939ff166 /cmd/nymdrop-reader/gui.go
parent78d57b1090a5a23abce2a732f091a4ef007d60cc (diff)
downloadnymdrop-4da18fe598f243c777d330ba9d50f1ecd4382b05.tar.gz
nymdrop-4da18fe598f243c777d330ba9d50f1ecd4382b05.tar.xz
nymdrop-4da18fe598f243c777d330ba9d50f1ecd4382b05.zip
Fix PoW status message never rendering in the browser
A tight loop of only-awaited crypto.subtle.digest calls never yields to the browser's rendering pipeline (they resolve as microtasks), so the "computing proof of work" status update was silently skipped from the user's perspective even though the computation ran correctly. Insert an explicit macrotask yield before and periodically during the search so the message actually paints and the tab stays responsive.
Diffstat (limited to 'cmd/nymdrop-reader/gui.go')
0 files changed, 0 insertions, 0 deletions