Did you read the source yet?
nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft nostr:npub1nxa4tywfz9nqp7z9zp7nr7d4nchhclsf58lcqt5y782rmf2hefjquaa6q8 nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet if I have questions about nostr_sdk bindings for python, is there a chat / telegram / etc where people hang out?
I'm trying to figure out what client.get_events_of() does, specifically what the timeout does.
I'd also be willing to contribute to documentation for the python bindings.
Discussion
my rust is rusty 😇
I did pass part of the source code through an LLM and it guessed that the timeout is being used for how long to listen for events, rather than the window of time in which events were published.
I believe it's to wait a small period to time to batch filters together in one REQ if you're making a lot of subscriptions.