Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ setHistoryLimit
Method
setHistoryLimit
source/core/StarObserverStream.hpp:56–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
54
55
template <typename T>
56
void ObserverStream<T>::setHistoryLimit(uint64_t historyLimit) {
57
m_historyLimit = historyLimit;
58
tick(0);
59
}
60
61
template <typename T>
62
void ObserverStream<T>::add(T value) {
Callers
1
StatusController
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected