MCPcopy Create free account
hub / github.com/FastLED/FastLED / push

Method push

src/fl/remote/rpc/server.cpp.hpp:65–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65size_t Server::push() {
66 if (!mResponseSink) {
67 return 0;
68 }
69
70 size_t sent = 0;
71
72 // Push queued responses
73 while (!mOutgoingQueue.empty()) {
74 mResponseSink(mOutgoingQueue[0]);
75 mOutgoingQueue.erase(mOutgoingQueue.begin());
76 sent++;
77 }
78
79 return sent;
80}
81
82} // namespace fl

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected