schollz / peerdiscovery

Pure-Go library for cross-platform local peer discovery using UDP multicast :woman: :repeat: :woman:
MIT License
644 stars 56 forks source link

Enable broadcast at startup #8

Closed Kunde21 closed 4 years ago

Kunde21 commented 4 years ago

Ticker channels are not triggerred upon initialization, so the first broadcast would be forced to wait delay duration. This wait is unexpected, as the user can assume that the first message is sent immediately.

schollz commented 4 years ago

Thanks, this is a lovely change.