Skip to main content

AsyncReceiver

Type Alias AsyncReceiver 

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

Async receiver wrapper for async-std runtime.

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

§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. Note that async-std’s spawn_blocking does not return a Result, so spawn failures from this runtime are less common than with Tokio.

Aliased Type§

pub struct AsyncReceiver { /* private fields */ }