Skip to content

Commit 8bf5b2c

Browse files
committed
docs and pub
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
1 parent 828f770 commit 8bf5b2c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

vortex-io/src/runtime/handle.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ impl Handle {
9292
}
9393

9494
/// Spawn a new I/O future onto the runtime.
95-
pub(crate) fn spawn_io<Fut, R>(&self, f: Fut) -> Task<R>
95+
///
96+
/// See [`Executor::spawn_io`] for more details about how this future is expected to run.
97+
///
98+
// See [`Task`] for details on cancelling or detaching the spawned task.
99+
pub fn spawn_io<Fut, R>(&self, f: Fut) -> Task<R>
96100
where
97101
Fut: Future<Output = R> + Send + 'static,
98102
R: Send + 'static,

0 commit comments

Comments
 (0)