FastLED 3.9.15
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 91 of file remote.h.

91 {
92 bind(fl::Rpc::Config<Callable>{name, fl::move(fn), mode});
93 }
void bind(const Config< Callable > &config)
Register method with config (name, function, optional metadata)
Definition remote.h:85
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28

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

+ Here is the call graph for this function: