Skip to main content

display_role

Function display_role 

Source
pub fn display_role(role: &str, per_session: bool) -> String
Expand description

The role as a worker name shows it: a per-session worker’s role (<role>-s<tag>, session_role) without its session tag, which is an internal id; any other role as it is (dev-storybook stays).