Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Add pause_eventloop for do-block syntax #613

Merged
merged 1 commit into from
Jan 17, 2022

Conversation

IanButterworth
Copy link
Collaborator

@IanButterworth IanButterworth commented Jan 17, 2022

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
Copy link

codecov bot commented Jan 17, 2022

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants