2.8 KiB
promises 1.3.2
- Fixed bug introduced in 1.3.1, where promise domains that are active at promise resolution time stay active during handler callback, even if they weren't active when the handler was registered. This was causing stack overflow for long promise chains with many active promise domains. (#115)
promises 1.3.1
- Fixed bug where promise domains were forgotten when handlers were registered from within other handlers. (#110)
promises 1.3.0
is.promising
is now an S3 method. (#104)
promises 1.2.1
-
future_promise()
received a speed improvement when submitting many requests with a minimal number of{future}
workers. Iffuture_promise()
runs out of available{future}
workers, thenfuture_promise()
will preemptively return for the remainder of the current{later}
execution. While it is possible for{future}
to finish a job before submitting all of thefuture_promise()
requests, the time saved by not asking{future}
's worker availability will be faster overall than if a few jobs were submitted early. (#78) -
Fixed #86:
future_promise()
spuriously reports unhandled errors. (#90) -
Move
{fastmap}
fromSuggests
toImports
for better{renv}
discovery. (#87)
promises 1.2.0.1
-
Added
future_promise()
which returns apromise
that executes the expression usingfuture::future()
.future_promise()
should (typically) be a drop-in replacement for anyfuture::future()
function call.future_promise()
will not executefuture
work faster thanfuture::future()
, butfuture_promise()
will only submitfuture
jobs if a worker is available. If no workers are available,future_promise()
will hold the expression information in apromise
until a worker does become available to better take advantage of computing resources available to the main R session. For more information, please see thefuture_promise()
article. (#62) -
Added visibility support for
Promise$then(onFulfilled)
. (#59)
promises 1.1.1
- Fix handling of FutureErrors during
future::resolved()
andfuture::value()
by discarding the corrupt future. (#37)
promises 1.1.0
-
Fixed #49:
promise_all()
previously did not handleNULL
values correctly. (#50)) -
new_promise_domain
now takes awrapOnFinally
argument, which can be used to intercept registration offinally()
. Previous versions treatedfinally
as passing the same callback tothen(onFulfilled=..., onRejected=...)
, and ignoring the result; for backward compatibility, promise domains will still treatfinally
that way by default (i.e. ifwrapOnFinally
isNULL
, thenfinally
will result inwrapOnFulfilled
andwrapOnRejected
being called, but ifwrapOnFinally
is provided then onlywrapOnFinally
will be called). (#43)
promises 1.0.1
- Initial CRAN release