kernl API
    Preparing search index...

    Function applyRuntimeFirewallProfile

    • Apply a profile's shell-wide limits to the runtime firewall: the unfocused multiplier, which the runtime applies with the focus kernl reports through getFocusContext, and the startup burst guard.

      Parameters

      • firewallState: RuntimeFirewallState

        bridge.runtime.firewallState.

      • config: GuardConfig

        The guard configuration of the profile now in force.

      Returns void

      Nothing; the firewall state is mutated and persisted.

      applyRuntimeFirewallProfile(bridge.runtime.firewallState, createGuardConfig('balanced'));
      bridge.runtime.firewallState.getConfig().unfocusedMultiplier; // 0.5