Closed kevburnsjr closed 5 years ago
Unfortunately, the monitor dictates the polling interval so it's impossible to completely initialize in anticipation of a monitor when monitor is nil. You can add a monitor after instantiating the struct, you just need to call Start
explicitly. Start is idempotent. I don't see a way around this without changing the interface.
Stumbled across this while testing something else.
Stop()
hangs when no monitor is provided