Skip to content

Commit e3df9d4

Browse files
CLEANUP: Drop 'collect = FALSE' to signalEarly() for already resolved uniprocess and sequential futures, because it makes no difference from the default 'collect = TRUE'
1 parent 9a91e03 commit e3df9d4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: future
2-
Version: 1.68.0-9024
2+
Version: 1.68.0-9025
33
Title: Unified Parallel and Distributed Processing in R for Everyone
44
Depends:
55
R (>= 3.2.0)

R/backend_api-11.SequentialFutureBackend-class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ launchFuture.SequentialFutureBackend <- function(backend, future, ...) {
7272
signalImmediateConditions(future)
7373

7474
## Signal conditions early, iff specified for the given future
75-
signalEarly(future, collect = FALSE)
75+
signalEarly(future)
7676

7777
hooks <- backend[["hooks"]]
7878
if (hooks) {

R/backend_api-UniprocessFuture-class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ run.UniprocessFuture <- function(future, ...) {
4545
signalImmediateConditions(future)
4646

4747
## Signal conditions early, iff specified for the given future
48-
signalEarly(future, collect = FALSE)
48+
signalEarly(future)
4949

5050
future
5151
}

0 commit comments

Comments
 (0)