pub fn id() -> Id
Gets running task’s id. Panic if no reside in managed async task.
See cautions of Id.