Releases: smikhalevski/parallel-universe
v6.1.1
Changelog: v6.1.0...v6.1.1
Fixed unsubscribe from listener in PubSub
(off-by-one error).
v6.1.0
Changelog: v6.0.0...v6.1.0
Added PubSub.waitFor(message)
that waits until a message that satisfies the given predicate is published and resolves with that message.
v6.0.0
Changelog: v5.0.0...v6.0.0
-
Executor
was removed. -
Blocker
andLock
aren't obeserveable anymore. -
Errors thrown in
PubSub
listeners are treated as uncaught exceptions. -
Added
listenerCount
andunsubscribeAll
toPubSub
. -
Added
retry
helper. -
WorkPool
,retry
,repeat
,timeout
, andwaitFor
abort the providedAbortablePromise
. -
repeat
callbacks receive an iteration index as an argument.
v5.0.1
Changelog: v5.0.0...v5.0.1
Added AbortablePromise.withSignal
.
v5.0.0
Changelog: v4.0.1...v5.0.0
-
Added
AbortablePromise
andDeferred
. -
AsyncQueue.take
,Executor.executor
,WorkPool.submit
,repeat
,timeout
,delay
, andwaitFor
now return anAbortablePromise
. -
repeatUntil
,raceTimeout
, andsleep
were renamed.
v4.0.0
Changelog: v3.1.0...v4.0.0
-
Executor.execute
returns anAsyncResult
of the execution. -
Added
composeSignals
util that returns a signal that aborts if any of the provided signals is aborted. -
raceTimeout
now accepts a promise or a callback. -
PubSub
doesn't guarantee anymore that all listeners will be called if a listener throws an error. -
untilTruthy
was renamed towaitFor
and now ignores errors thrown by the callback. -
Renamed
ExecutorCallback
toAbortableCallback
. -
Removed
Execution
interface. -
Build now contains sourcemaps.
v3.1.0
Changelog: v3.0.0...v3.1.0
-
Added
exports
to package.json. -
Package is exported from the lib dir.
-
Cleaner generated docs.
v3.0.0
Changelog: v2.0.0...v3.0.0
-
AsyncQueue.takeBlockingAck
replacestakeAch(true)
. -
Execution.getOrDefault
returns an execution result if execution is fulfilled or default value otherwise. -
Executor.execute
always returns a promise. -
timeout
was renamed toraceTimeout
. -
Signal support was removed from
repeatUntil
,untilTruthy
, andraceTimeout
. -
Minification and property mangling were removed.