Calling Async Rust from C#: Tokio, Callbacks, and Cancellation
Rust’s Tokio and C#’s Task scheduler don’t share a runtime. Bridging async Rust and C# across FFI takes a Tokio runtime owned by .NET, Tasks completed from native callbacks, and safe cancellation across the boundary. Built around DataFusionSharp’s Apache DataFusion bindings.