(time int64)
| 335 | } |
| 336 | |
| 337 | func (t *DBTask) OnSuspend(time int64) { |
| 338 | t.mu.Lock() |
| 339 | defer t.mu.Unlock() |
| 340 | |
| 341 | if t.Task != nil { |
| 342 | t.Task.PublicState.ResumeTime = time |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | func (t *DBTask) Progress(ctx context.Context) Progresses { |
| 347 | return nil |