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

◆ bind() [1/2]

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

Convenience overload: bind method by name, function, and optional mode.

Definition at line 248 of file rpc.h.

248 {
249 bind(Config<Callable>{name, fl::move(fn), mode});
250 }
void bind(const Config< Callable > &config) FL_NO_EXCEPT
Bind a method with configuration (name, function, optional metadata).
Definition rpc.h:240
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition move.h:30
Configuration for method registration with optional metadata.
Definition rpc.h:186

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

+ Here is the call graph for this function: