FastLED 3.9.15
Loading...
Searching...
No Matches

◆ then()

StreamHandle & fl::net::http::StreamHandle::then ( fl::function< void(const fl::json &)> cb)

Register callback for final result.

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

29 {
30 mPromise.then(fl::move(cb));
31 return *this;
32}
fl::task::Promise< fl::json > mPromise
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28

References StreamHandle(), fl::fl::move(), and mPromise.

Referenced by StreamHandle().

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