generate_task_id

Function generate_task_id 

Source
pub fn generate_task_id(cx: &Context<'_>) -> AsyncResult<TaskId>
Expand description

Generate unique task ID from Context waker

Uses the waker’s vtable address combined with a global epoch counter to ensure uniqueness even if waker memory is reused.