FastLED 3.9.15
Loading...
Searching...
No Matches
completion_handler.h
Go to the documentation of this file.
1#pragma once
2
4#include "fl/stl/function.h"
5
6namespace fl {
7namespace asio {
8
13 fl::function<void(const error_code &ec, size_t bytes_transferred)>;
14
18using connect_handler = fl::function<void(const error_code &ec)>;
19
20} // namespace asio
21} // namespace fl
fl::function< void(const error_code &ec, size_t bytes_transferred)> io_handler
Asio-style I/O completion handler signature.
fl::function< void(const error_code &ec)> connect_handler
Asio-style connect completion handler signature.
Base definition for an LED controller.
Definition crgb.hpp:179
Asio-compatible error code: numeric code + optional human-readable message.
Definition error_code.h:31