Skip to content

Commit

Permalink
process.events() in metrics viewer callback
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed May 7, 2024
1 parent 210478a commit e6b7ce0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/zzz-metrics-callback.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ callback_view_metrics <- Callback(
}

# pump events
utils::process.events()
Sys.sleep(sleep)
utils::process.events()
}
# record metrics
tfruns::write_run_metadata("metrics", metrics)
Expand Down

0 comments on commit e6b7ce0

Please sign in to comment.