FastLED 3.9.15
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 242 of file rpc.h.

242 {
243 bind(Config<Callable>{name, fl::move(fn), mode});
244 }
void bind(const Config< Callable > &config)
Bind a method with configuration (name, function, optional metadata).
Definition rpc.h:234
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28
Configuration for method registration with optional metadata.
Definition rpc.h:183

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

+ Here is the call graph for this function: