chuhai
chuhai copied to clipboard
Testing promises?
Thanks for the awesome library! I'm already using it for bitcoin-ts
's benchmarks.
I'm trying to compare the performance of bitcoin-ts
's WebAssembly hash digest algorithms against the built-in Window.crypto.subtle.digest
method, which returns its result in a Promise.
I didn't see it in the documentation – what's the best way to test a promise with Chuhai?
Thanks!