Skip to content

Releases: smikhalevski/parallel-universe

v6.1.1

02 Jul 15:05
Compare
Choose a tag to compare

Changelog: v6.1.0...v6.1.1

Fixed unsubscribe from listener in PubSub (off-by-one error).

v6.1.0

06 May 16:02
Compare
Choose a tag to compare

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

24 Apr 14:22
Compare
Choose a tag to compare

Changelog: v5.0.0...v6.0.0

  • Executor was removed.

  • Blocker and Lock aren't obeserveable anymore.

  • Errors thrown in PubSub listeners are treated as uncaught exceptions.

  • Added listenerCount and unsubscribeAll to PubSub.

  • Added retry helper.

  • WorkPool, retry, repeat, timeout, and waitFor abort the provided AbortablePromise.

  • repeat callbacks receive an iteration index as an argument.

v5.0.1

24 Apr 14:21
Compare
Choose a tag to compare

Changelog: v5.0.0...v5.0.1

Added AbortablePromise.withSignal.

v5.0.0

26 Feb 14:13
Compare
Choose a tag to compare

Changelog: v4.0.1...v5.0.0

  • Added AbortablePromise and Deferred.

  • AsyncQueue.take, Executor.executor, WorkPool.submit, repeat, timeout, delay, and waitFor now return an AbortablePromise.

  • repeatUntil, raceTimeout, and sleep were renamed.

v4.0.0

13 Dec 10:47
Compare
Choose a tag to compare

Changelog: v3.1.0...v4.0.0

  • Executor.execute returns an AsyncResult 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 to waitFor and now ignores errors thrown by the callback.

  • Renamed ExecutorCallback to AbortableCallback.

  • Removed Execution interface.

  • Build now contains sourcemaps.

v3.1.0

27 Aug 13:40
Compare
Choose a tag to compare

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

08 Feb 13:12
Compare
Choose a tag to compare

Changelog: v2.0.0...v3.0.0

  • Publish–subscribe pattern implementationPubSub.

  • AsyncQueue.takeBlockingAck replaces takeAch(true).

  • Execution.getOrDefault returns an execution result if execution is fulfilled or default value otherwise.

  • Executor.execute always returns a promise.

  • timeout was renamed to raceTimeout.

  • Signal support was removed from repeatUntil, untilTruthy, and raceTimeout.

  • Minification and property mangling were removed.