-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
The current DNS lookup interface is clunky to say the least. You need to pass in a callback that is immediately called. Much better to return a struct.
I'd recommend one of 2 things:
- Keep the clunky interface, but add a wrapper that provides a resulting GC array of lookup addresses.
- Instead of a callback, return a range that frees whatever resources it needs to when it's destroyed.
Reactions are currently unavailable