Skip to content

Commit

Permalink
Add missing docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dl1998 committed Feb 24, 2024
1 parent 2f8e6b7 commit 4be3aab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ func (task *Task) RemoveFromContext(name string) {
delete(task.context, name)
}

// Wait waits until task will be completed, either by timer or stop signal, whichever happens first.
func (task *Task) Wait() {
if task.stopSignal != nil {
<-task.stopSignal
Expand Down

0 comments on commit 4be3aab

Please sign in to comment.