MCPcopy Create free account
hub / github.com/Ruddle/Fomos / Task

Class Task

bootloader/kernel/src/task/mod.rs:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4pub mod executor;
5
6pub struct Task {
7 id: TaskId,
8 future: Pin<Box<dyn Future<Output = ()>>>,
9}
10impl Task {
11 pub fn new(future: impl Future<Output = ()> + 'static) -> Task {
12 Task {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected