Task system for htms.
Defines a Task abstraction wrapping a future that produces a String. Useful for scheduling or executing asynchronous jobs identified by an ID.
Task
String
use htms_core::task::{Task, TaskFuture}; use std::future; let task = Task::new("hello", future::ready("world".to_string()));