// init for eager-mode
eager, ok := broker.(eager.Mode)
if ok {
// we don't have to call worker.Launch in eager mode
eager.AssignWorker(srv.NewWorker("eager", 0))
}
v2 seems to be missing the equivalent functionality, requiring the user to set the worker themselves
v1 has the following at the end of
NewServer
v2 seems to be missing the equivalent functionality, requiring the user to set the worker themselves