What is Nostr?
David Anson /
npub1lz9…sd3g
2024-11-26 19:17:55
in reply to nevent1q…jpzx

David Anson on Nostr: nprofile1q…rmd38 I’ve never used that function nor native interop in Node, but ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq5mlsk26z49ynfwv9m0ncuwzpkzr0nuyvjazjv7mg0l66xwjq2z2s9rmd38 (nprofile…md38) I’ve never used that function nor native interop in Node, but one thing that stands out reading the documentation is that it acts *per thread* and I wonder if your call ends up running on a worker thread instead of the main JavaScript thread like you seem to intend. If this were Windows, I’d use WinDbg to breakpoint in the kernel API to verify the call coming in; I’m sure there’s a way to do that on Linux, too. :)
Author Public Key
npub1lz9qfs3evwm736xj38ntdx35takrza8yggusckrk2smpwds66dasllsd3g