FirstLoad, when enabled, blocks until the first routing configuration was received by the routing during the startup. When disabled, it doesn't block.
()
| 455 | // FirstLoad, when enabled, blocks until the first routing configuration was received |
| 456 | // by the routing during the startup. When disabled, it doesn't block. |
| 457 | func (r *Routing) FirstLoad() <-chan struct{} { |
| 458 | return r.firstLoad |
| 459 | } |
| 460 | |
| 461 | // RouteLookup captures a single generation of the lookup tree, allowing multiple |
| 462 | // lookups to the same version of the lookup tree. |
no outgoing calls