Andrew Burkhart
andrewburkhart.bsky.social
Andrew Burkhart
@andrewburkhart.bsky.social
Senior Rust Developer, 1Password
The domains is how they really got us (sincerely a guy who hasn’t made a proper one)
November 18, 2024 at 4:43 PM
If you convert the above code to this code, the app will panic. When we hit the expect() line, nothing from the async fn start_invocation_loop() has run yet.
November 6, 2024 at 6:56 PM
Actually this should've been like this. Oops
November 6, 2024 at 6:52 PM
Sounds like you should just switch to Rust 😏
November 3, 2024 at 12:55 AM
The future that is being polled by block_on() is the future that is returned by start_invocation_loop(). That future is everything inside the async move {} block. The code in that block only executes when polled.

However everything above that happens synchronously before even the .get() call.
November 2, 2024 at 7:51 PM
My guess is bsky.app/profile/synt.... I just went looking for the same reason 🤣
I just spent way too long adding every guest to a Syntax starter pack

If you want to follow the best devs in web development 👇🏻

go.bsky.app/SoASbQA
November 2, 2024 at 5:28 PM