what's your github handle?
nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft
Since the connect() method is async, you don't need to await the Promise.all() at the end. Instead, just return Promise.all(promises). The caller is getting a Promise either way.
https://github.com/nostr-dev-kit/ndk/blob/master/src/relay/pool/index.ts#L60