Skip to main content

compose_divert

Function compose_divert 

Source
pub fn compose_divert(tap: WireTapService, real: BoxProcessor) -> BoxProcessor
Expand description

Compose a divert from a copy stage and a real producer.

tap is moved into the composed processor; clone it before the call to keep a handle for lifecycle wiring — clones share the admission gate.