Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/3rdparty/libprocess
/ discard
Method
discard
include/process/limiter.hpp:143–150 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
141
}
142
143
void discard(const Future<Nothing>& future)
144
{
145
foreach (Promise<Nothing>* promise, promises) {
146
if (promise->future() == future) {
147
promise->discard();
148
}
149
}
150
}
151
152
double permitsPerSecond;
153
Callers
1
foreach
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected