pub fn mode(ctx: &ServiceContext) -> u32Expand description
The mode this program was started in: a number its spawn request carried, 0 for every ordinary start.
A program that does more than one thing - observe once or live, probe one test or another - reads
which here. What a mode means is the program’s own.