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

Method pullRequest

tests/fl/remote/remote.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 size_t requestIndex = 0;
35
36 fl::optional<fl::json> pullRequest() {
37 if (requestIndex >= requests.size()) {
38 return fl::nullopt;
39 }
40 return requests[requestIndex++];
41 }
42
43 void pushResponse(const fl::json& response) {
44 responses.push_back(response);

Callers 1

FL_TEST_FILEFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected