register_context_name_callback

Function register_context_name_callback 

Source
pub fn register_context_name_callback(
    cb: impl Fn() -> FlyByteStr + Send + Sync + 'static,
)
Expand description

Provide a callback to retrieve the current context name, for example the name of the current Starnix process.