AlexAegis / AlexAegis/rx_bevy

Feature: HoldAllOperator

未關閉
#16 0 則留言 0 個 reaction 已指派 1 人 已被 @AlexAegis 認領 在 GitHub 檢視
enhancement
主要語言
Rust
星號
25
分支
2
PR 合併指標
30 天內沒有已合併 PR

描述

A similar operator already exists `fallback_when_silent` which is also a firehosing operator, emitting at every tick, but with a fallback value instead of the latest cached value, which is what the hold operator will do, with the added configuration that it can have a limit on how long to hold something for.
This holding length is also coming from the upstream signal.

```rs
HoldRequest {
in: In,
hold_for: Duration
}
```

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。