Skip to main content

AsyncReceiver

Type Alias AsyncReceiver 

Source
pub type AsyncReceiver = AsyncReceiverGeneric<SmolRuntime>;
Expand description

Async receiver wrapper for smol runtime.

This is a type alias for the generic async receiver parameterized with the smol runtime. It provides async versions of the crate::Receiver methods by running blocking NDI operations on smol’s blocking thread pool using ::smol::unblock.

§Thread Safety

The underlying Receiver is wrapped in an Arc to allow sharing across async tasks and safe cloning. The NDI SDK receiver is inherently thread-safe.

§Error Handling

All methods return crate::Result, converting blocking-operation panics into crate::Error::SpawnFailed.

Aliased Type§

pub struct AsyncReceiver { /* private fields */ }