Skip to main content

mint_session_id

Function mint_session_id 

Source
pub(crate) fn mint_session_id() -> String
Expand description

A fresh session id, deliberately NOT recorded against a slot’s row.

A handoff records its successor on Connected, not before the spawn. Minting-and-recording ahead of a spawn that then fails would leave the next boot resuming an id that never ran, which an empty session then fills and a handoff record claims to have joined.