RxClojure 将此运算符实现为 partition-all
RxCpp 将此运算符实现为 window
的两个变体,window_with_time
的两个变体,以及 window_with_time_or_count
window(count)
window(count, skip)
window_with_time(period
[, coordination
])
window_with_time(period, skip
[, coordination
])
window_with_time_or_count(period, count
[, coordination
])
RxGroovy 中有几种 窗口 的变体。
window(closingSelector)
window(windowOpenings, closingSelector)
window(count)
window(count, skip)
window(timespan, unit
[, scheduler
])
window(timespan, unit, count
[, scheduler
])
window(timespan, timeshift, unit
[, scheduler
])
你可以使用 窗口 运算符来实现背压(即处理可能产生项目的速度超过其观察者消耗速度的可观察对象)。
RxJava 中有几种 窗口 的变体。
window(closingSelector)
window(windowOpenings, closingSelector)
window(count)
window(count, skip)
window(timespan, unit
[, scheduler
])
window(timespan, unit, count
[, scheduler
])
window(timespan, timeshift, unit
[, scheduler
])
你可以使用 窗口 运算符来实现背压(即处理可能产生项目的速度超过其观察者消耗速度的可观察对象)。
window(windowClosingSelector)
window(windowOpenings, windowClosingSelector)
window(windowBoundaries)
windowWithCount(count)
windowWithCount(count, skip)
windowWithTime(timeSpan
[,scheduler
])
windowWithTime(timeSpan,timeShift
[,scheduler
])
windowWithTimeOrCount(timeSpan,count
[,scheduler
])
RxKotlin 中有几种 Window 变体。
window(closingSelector)
window(windowOpenings, closingSelector)
window(count)
window(count, skip)
window(timespan, unit
[, scheduler
])
window(timespan, unit, count
[, scheduler
])
window(timespan, timeshift, unit
[, scheduler
])
Rx.NET 中有几种 Window 运算符变体。
Window(windowClosingSelector)
Window(count)
Window(timeSpan
[,scheduler
])
Window(count,skip)
Window(windowOpenings,windowClosingSelector)
Window(timeSpan,count
[,scheduler
])
Window(timeSpan,timeShift
[,scheduler
])
RxPY 使用四种不同函数的几种变体来实现此运算符。
window(window_closing_selector)
window(window_openings,window_closing_selector)
window(window_openings)
window_with_count(count)
window_with_count(count,skip)
window_with_time(timespan
[,scheduler
])
window_with_time(timespan,timeshift
[,scheduler
])
window_with_time_or_count(timespan,count
[,scheduler
])
window_with_count(count,skip)
RxScala 将此操作符实现为 sliding
(创建可能重叠或有间隙的窗口)和 tumbling
(创建其总发射量与源 Observable 一一对应的窗口)。
sliding(timespan,timeshift,count
[,scheduler
])
sliding(timespan,timeshift
[,scheduler
])
sliding(count,skip)
sliding(openings,closings)
tumbling(timespan,count
[,scheduler
])
tumbling(timespan
[,scheduler
])
tumbling(count)
tumbling(boundary)