Skip to main content

Module async_bridge

Module async_bridge 

Source
Expand description

Runtime-agnostic bridge from Apple completion handlers to Rust futures.

Provides CompletionFuture<T> – a Future that resolves when an Objective-C completion handler fires. Works with any async runtime (tokio, async-std, smol) or can be blocked on synchronously.

Structs§

CompletionFuture
A future that resolves when an Apple completion handler fires.