code: func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) {
  	state := &tasks.TaskState{}
  	err := b.tasksCollection.FindOne(context.Background(), bson.M{"_id": taskUUID}).Decode(state)
  
  	if err != nil {
  		return nil, err
  	}
  	return state, nil
  }
docs: // GetState returns the latest task state