@shumoku/core · 0.4.0 · function
linkSpeedBps
Resolve a link's nominal speed (bits/sec). Reads per-endpoint module standards (the canonical source) and falls back to runtime `rateBps` when neither end has a module set. For symmetric links both endpoints return the same speed; for asymmetric links (BiDi etc.) we pick the lower of the two (conservative for utilization math).
linkSpeedBps(link: Link | null | undefined): number | undefined Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
link | Link | null | undefined | No additional description. | — |
Returns
number | undefined