Skip to content

Commit

Permalink
Forgot to actually update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushisource committed Nov 17, 2023
1 parent 2424f43 commit 5bcea37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/worker/workflow/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,8 @@ impl BufferedTasks {
self.wft.is_some() || !self.query_only_tasks.is_empty()
}

/// Remove and return the next WFT from the buffer that should be applied
/// Remove and return the next WFT from the buffer that should be applied. WFTs which would
/// advance workflow state are returned before query-only tasks.
fn get_next_wft(&mut self) -> Option<PermittedWFT> {
self.wft
.take()
Expand Down

0 comments on commit 5bcea37

Please sign in to comment.