Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should implement create_loop(autorun=TRUE) #99

Open
wch opened this issue Aug 9, 2019 · 0 comments
Open

Should implement create_loop(autorun=TRUE) #99

wch opened this issue Aug 9, 2019 · 0 comments

Comments

@wch
Copy link
Member

wch commented Aug 9, 2019

See here:

later/R/later.R

Lines 50 to 54 in ae297fa

#' @param autorun Should this event loop automatically be run when its parent
#' loop runs? Currently, only FALSE is allowed, but in the future TRUE will
#' be implemented and the default. Because in the future the default will
#' change, for now any code that calls \code{create_loop} must explicitly
#' pass in \code{autorun=FALSE}.

This will eliminate the need for a callback that does the following:

  • the callback schedules the private loop to run from the main loop.
  • it reschedules itself.
@wch wch changed the title Should implemented create_loop(autorun=TRUE) Should implement create_loop(autorun=TRUE) Jan 8, 2020
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

No branches or pull requests

1 participant