Why Nostr? What is Njump?
2024-03-26 04:22:38
in reply to

bludda on Nostr: Because 'on' method does not support accepting functions that return promises (your ...

Because 'on' method does not support accepting functions that return promises (your handles is async fn). It will work, until rejected promise will crash your app.
TS does a poor job at warning on these mistakes.
Author Public Key
npub1d4p5znftnf2kws5sje3yfrmjqqruml0mf74a0uu7r79mwdl5mw7q5defyu