Skip to main content

Module async_source

Module async_source 

Source
Expand description

Async data source support for OxiUI table.

AsyncRowSource is a Send + Sync trait analogous to RowSource but with an async fn row() signature. This enables remote / IO-bound data sources (databases, REST APIs, file parsing) without blocking the UI thread.

A built-in PrefetchBuffer wraps any AsyncRowSource and prefetches rows near the current viewport, serving cached rows synchronously once fetched.

Structs§

PrefetchBuffer
Wraps an AsyncRowSource and provides a synchronous RowSource view.

Traits§

AsyncRowSource
Asynchronous variant of RowSource for IO-bound data backends.

Type Aliases§

BoxFuture
A boxed, send-able future.