(no title)
e-topy | 6 months ago
It would have been caught because this API (setters) is impossible with Rust. At best, you'd have a .set_href(String).await, which would stop the thread until the location has been updated and therefore the value stabilized. At worst, you'd have a public .href variable, but because the setter pattern is impossible, you know there must be some process checking and scheduling updates.
[0]: https://developer.mozilla.org/en-US/docs/Web/API/Location/hr...
No comments yet.