Skip to main content

queue_handler_method_name

Function queue_handler_method_name 

Source
pub fn queue_handler_method_name(service: &str, index: usize) -> String
Expand description

Method name for an on queue handler (v0.10b): queue_<service>_<index>, by the handler’s position among the service’s queue handlers. Computed identically at the handlers method, the compose surface wrapper, and the queue dispatcher (queue names are unique context-wide, but the index keeps the key identifier-safe without sanitising the name).