lastStateFor

Returns the last emitted state for a given task ID.