MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / poll_join

Method poll_join

crates/runtime/src/sim/executor/task.rs:41–45  ·  view source on GitHub ↗

Poll the underlying async_task::Task for its output.

(mut self: Pin<&mut Self>, cx: &mut Context<'_>)

Source from the content-addressed store, hash-verified

39
40 /// Poll the underlying async_task::Task for its output.
41 pub(crate) fn poll_join(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<T, JoinError>> {
42 // async_task::Task implements Future. Polling it drives the wrapped
43 // Abortable future inside the executor.
44 Pin::new(&mut self.task).poll(cx)
45 }
46}
47
48impl<T> Future for JoinHandle<T> {

Callers 2

poll_resultMethod · 0.80
pollMethod · 0.80

Calls 2

newFunction · 0.50
pollMethod · 0.45

Tested by

no test coverage detected