Skip to main content

Module spawn

Module spawn 

Source

Re-exportsยง

use std::future::Future; ๐Ÿ”’
use std::ops::Range; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use bytes::Bytes; ๐Ÿ”’
use futures::future::BoxFuture; ๐Ÿ”’
use futures::FutureExt; ๐Ÿ”’
use futures::TryFutureExt; ๐Ÿ”’
use tokio::runtime::Handle; ๐Ÿ”’
use crate::arrow::arrow_reader::ArrowReaderOptions; ๐Ÿ”’
use crate::arrow::async_reader::AsyncFileReader; ๐Ÿ”’
use crate::arrow::async_reader::MetadataSuffixFetch; ๐Ÿ”’
use crate::errors::ParquetError; ๐Ÿ”’
use crate::errors::Result; ๐Ÿ”’
use crate::file::metadata::ParquetMetaData; ๐Ÿ”’

Structsยง

SpawnedReader
An AsyncFileReader that performs I/O on a separate tokio runtime.

Functionsยง

spawn ๐Ÿ”’
Spawns fut on handle, propagating panics and mapping task cancellation to ParquetError::External