You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the description in crates.io https://crates.io/crates/subsecond the code example has hot_fn.changed() but I cannot find changed method in latest version of subsecond.
If the framework you’re using doesn’t integrate with subsecond, you can rely on the fact that calls to stale call instances will emit a safe panic that is automatically caught and retried by the next call instance up the callstack.
The try_call only returns Ok and don't return Err now
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In the description in crates.io https://crates.io/crates/subsecond the code example has
hot_fn.changed()but I cannot findchangedmethod in latest version of subsecond.In docs.rs
https://docs.rs/subsecond/0.7.3/subsecond/#globals-statics-and-thread-locals
As I tested, for the globals in tip hotpatched crate, their address changes after hotpatch, in Windows, Linux(WSL) and Wasm. #5237
https://docs.rs/subsecond/0.7.3/subsecond/#how-it-works
The
try_callonly returnsOkand don't returnErrnowdioxus/packages/subsecond/subsecond/src/lib.rs
Line 411 in ceb8261
unwrap()will never panic.Beta Was this translation helpful? Give feedback.
All reactions