Drop the join handle without cancelling the task.
(self)
| 33 | |
| 34 | /// Drop the join handle without cancelling the task. |
| 35 | pub fn detach(self) { |
| 36 | // async_task::Task::detach makes Drop a no-op — the future keeps running. |
| 37 | self.task.detach(); |
| 38 | } |
| 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>> { |