We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 828f770 commit 8bf5b2cCopy full SHA for 8bf5b2c
1 file changed
vortex-io/src/runtime/handle.rs
@@ -92,7 +92,11 @@ impl Handle {
92
}
93
94
/// Spawn a new I/O future onto the runtime.
95
- pub(crate) fn spawn_io<Fut, R>(&self, f: Fut) -> Task<R>
+ ///
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>
100
where
101
Fut: Future<Output = R> + Send + 'static,
102
R: Send + 'static,
0 commit comments