FastLED 3.10.9
Loading...
Searching...
No Matches

◆ setResponseStreamAvailable()

void fl::Rpc::setResponseStreamAvailable ( fl::function< bool()> available)

Reports whether the stream sink currently reaches a transport.

When unset, a configured stream sink is assumed live. rpc.discover streams only when it is live and otherwise returns its result inline.

Definition at line 29 of file rpc.cpp.hpp.

29 {
30#if FL_PLATFORM_HAS_LARGE_MEMORY
31 mResponseStreamAvailable = fl::move(available);
32#else
33 (void)available;
34#endif
35}
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition s16x16x4.h:30
int available() FL_NO_EXCEPT

References fl::available(), fl::FL_NO_EXCEPT, and fl::fl::adl_barrier::move().

Referenced by operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: