Skip to main content

Module embassy_adapter

Module embassy_adapter 

Source
Available on crate feature embassy-runtime only.
Expand description

Embassy runtime adapters.

This module provides Pollable and PkMethodAccessor helpers that integrate PK Command with the Embassy async runtime.

See more at the embassy_method_accessor! macro.

Macros§

embassy_method_accessor
Helper macro for creating a PkMethodAccessor backed by Embassy tasks.

Structs§

EmbassyPollable
A Pollable backed by an Embassy OnceLock.

Type Aliases§

TaskCallback
Callback type used by Embassy tasks to resolve a method call.