What is Nostr?
bludda / ₿luddha (₿/acc)
npub1d4p…efyu
2024-03-26 03:22:38
in reply to nevent1q…u3qw

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