Skip to main content

register_debug_subsystem

Function register_debug_subsystem 

Source
pub fn register_debug_subsystem(
    state: &DebugStateRef,
    name: &str,
    hooks: &DebugSubsystemHooks,
)
Expand description

Registers a subsystem’s channels and guard bindings under name (TS registerDebugSubsystem). Last write wins, and a replaced name keeps its registration position, as the source Map does.