Skip to content

Add pause_eventloop for do-block syntax - #613

Merged
tknopp merged 1 commit into
JuliaGraphics:masterfrom
IanButterworth:ib/pause_do
Jan 17, 2022
Merged

tknopp merged 1 commit into
JuliaGraphics:masterfrom
IanButterworth:ib/pause_do

Conversation

@IanButterworth

@IanButterworth IanButterworth commented Jan 17, 2022 •

Copy link
Copy Markdown
Collaborator

A do-block syntax like this is helpful for running functions where you explicitly don't want the eventloop running.

pause_eventloop() do
    foo()
end

@codecov

codecov Bot commented Jan 17, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #613 (edc5806) into master (c23b075) will increase coverage by 0.11%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #613      +/-   ##
==========================================
+ Coverage   57.44%   57.55%   +0.11%     
==========================================
  Files          32       32              
  Lines        2700     2707       +7     
==========================================
+ Hits         1551     1558       +7     
  Misses       1149     1149              
Impacted Files Coverage Δ
src/Gtk.jl 91.83% <100.00%> (+1.36%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c23b075...edc5806. Read the comment docs.

@IanButterworth
IanButterworth force-pushed the ib/pause_do branch 2 times, most recently from 21436c3 to 0d6e3dc Compare January 17, 2022 07:38
@tknopp
tknopp merged commit ce3b9de into JuliaGraphics:master Jan 17, 2022
@IanButterworth
IanButterworth deleted the ib/pause_do branch January 17, 2022 13:31
IanButterworth referenced this pull request Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants