Skip to content

Commit

Permalink
Make Site.wait public
Browse files Browse the repository at this point in the history
Changelog: changed
  • Loading branch information
yorickpeterse committed May 31, 2024
1 parent 78ac44c commit d57b1b7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/wobsite.inko
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,11 @@ class pub Site {
})
}

fn move wait -> Result[Nil, Errors] {
# Waits for the site to be built, returning once all pages have been
# processed.
#
# If one or more pages failed to build, a `Result.Error` is returned.
fn pub move wait -> Result[Nil, Errors] {
let errors = Errors([])

while @pending > 0 {
Expand Down

0 comments on commit d57b1b7

Please sign in to comment.