package pool type Task struct { id uint64 f func() (interface{}, error) }