Skip to main content

holder_kind_of

Function holder_kind_of 

Source
pub fn holder_kind_of(text: &str) -> &'static str
Expand description

What: What a waiting notice of the service says of the holder of the index lock. Why: The notice is the only thing about the holder that reaches the client, and the record should say whether the wait was for a process proven to hold the lock or for one nobody could prove alive.

In TS you’d write (pseudocode):

holderKindOf(text) // 'proven-alive' | 'unproven'