pub unsafe fn lean_io_get_task_state_core(t: Obj) -> u8
IO.getTaskState: finished (2), or running (1) for the result of an unresolved promise, as the C runtime reports it.
IO.getTaskState