Skip to main content

LogsStreamPane

Function LogsStreamPane 

Source
pub(super) fn LogsStreamPane(props: LogsStreamPaneProps) -> impl IntoView
Expand description

实时日志流面板:历史加载 + SSE 追加 + 向上翻页 + 滚动跟随。

父组件按筛选变化重建本组件(props 均为挂载时刻快照):卸载时 on_cleanup 关闭 EventSource,挂载时重新拉历史并重连。follow 是父组件的开关, connected / dropped 是与父组件共享的信号。

§Required Props