[−][src]Module kpal::plugins
Utilities to create and interact with Plugins.
The plugins module is responsible for initializing new plugins and creating their executors. Each plugin is assigned an executor, and each executor runs inside its own thread. All communication with a peripheral occurs through tasks that are executed by the executor.
Structs
Executor | Executes tasks on a Plugin in response to messages. |
PluginError | Contains information for clients about errors that occur while communicating with a plugin. |
Enums
Message | A message that is passed from a request handler to a peripheral. |
Functions
init | Initializes a new plugin. |
kpal_plugin_new⚠ | Requests a new Plugin object from the Library. |
Type Definitions
Receiver | Represents a single receiver that is owned by a peripheral. |
Transmitter | Represents a single transmitter for communicating with a peripheral. |