FastLED 3.10.8
Loading...
Searching...
No Matches

◆ bind() [1/2]

template<typename Callable>
void fl::Remote::bind ( const char * name,
Callable fn,
fl::RpcMode mode = fl::RpcMode::SYNC )
inline

Register method by name, function, and optional mode (default SYNC)

Definition at line 98 of file remote.h.

98 {
99 bind(fl::Rpc::Config<Callable>{name, fl::move(fn), mode});
100 }
void bind(const Config< Callable > &config) FL_NO_EXCEPT
Register method with config (name, function, optional metadata)
Definition remote.h:92
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition move.h:30

References bind(), fl::FL_NO_EXCEPT, fl::adl_barrier::move(), and fl::SYNC.

+ Here is the call graph for this function: