diff --git a/assets/search.js b/assets/search.js index c979e50..ad6511d 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7VaWY/bNhD+L8yr4jVPH29p0wAFAjRtgPbBWCx8cBN1tZajI0cX+98L6uKMzJFkd/vkXXFmviG/j0OK1BPL0m85W2+e2EN8PLA1F8uIHbePlq3Zm12aFdtdYj9k6WOcWxaxMkvYmu2TbZ7b/KZvMPtcPCYsatvZmrHnqI2suegi79NjXmTlvkizaUFfYQ8AELHTNrPHIpSvBxdz5fu1dXYTcVvbixHRQOY/jvvfS1sGhrBrepnBw+GmDZvPDgyYEVypDjOP/xnN/VVjdAkKouV0ssfDKEpndi1OsX0Y70tj9F8w3uwfJsHUdtcibeLCZtsizW5Hwe5a07vL8KCUf0rS/YM9F17z/EVEDGNNUnCbFCnfOK9NztWFsKDZZCRIxs41D2O0JlfFL48TELzRVRh5ucv3Wbw7nyMIBZpNxTFaS9MB3d0VP05TUWbdX6/5rPMcBJ4FnAlVv7X3NssC8mgbXkTXKNgkYXd5gbTnwus6s3mafD0fQ4zkrSajTGIqiNKQ81qMws3avMjO/W335+t0H7Ux+n+75kDGZAf6VeUUltov3+2+DKmjbXgRqaFgk6TW5UWwEefvyuQ+TpLALMFo2PJatD+qQZwABgyvw/q6TQIbMwzT2lyHkNltnh5HIDqj6zBOxB4dg3iryShnS+lHWxRTVODtrsf6YI+H+PhpFMvbTceCi56t2sdGz1tdh/LJFr9lb+39tkzO6xqG6pleh7dP7Ha0NjQ21yGEX6UwwvAr1BgCtcT1J8/wEjeOElxr+iCDa80YBr2xwjDjO6sA0qRVjcC5ZG/VhZi+uXof2rG6hy+y0nWBJq1yVS4D9eZ9+C3BgwCTaQhotuy/lHF2zosP7y0uj07ry8cf11YPYZKuAvEv0VTlPl1PH8rdx3J3lkT9+EU0BUJNUlWTEcHLqdwlcf55EMXbXINAMw8xxrk/Q5nEfhDjEv6bANMV8FeaPXxI0+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U464zcANS1VSF7E52Qbagggg/dUuqj/qgcGL1tZIqB+0eNsgYIGtqPINzFpAzkAH3wNIXceWLuKZkdbyMGoKBLCiSnEtvTQE4pjjqtqJBRQDjxVAJdlcOQYOBEjlFrr9WA/QLF1JU2xqv/oIJwBmqYLqlxB0uIQpULUOVA3cTvPI3wYEYQEGgHIvyft8cVAE3oEAdLbE3Cdtne5tnO8uWq5unp/8ALCWFpiIwAAA="; \ No newline at end of file diff --git a/classes/AbortablePromise.html b/classes/AbortablePromise.html index 8845f40..80cdac5 100644 --- a/classes/AbortablePromise.html +++ b/classes/AbortablePromise.html @@ -1,7 +1,8 @@ -AbortablePromise | parallel-universe - v5.0.0

Class AbortablePromise<T>

The promise that can be aborted.

+AbortablePromise | parallel-universe - v5.0.1

Class AbortablePromise<T>

The promise that can be aborted.

Type Parameters

  • T

    The value that the promise is resolved with.

Hierarchy

Constructors

Methods

Constructors

  • Creates a new abortable promise.

    Type Parameters

    • T

      The value that the promise is resolved with.

    Parameters

    • executor: ((resolve, reject, signal) => void)

      A callback that initializes the promise.

      @@ -13,4 +14,7 @@

    Returns void

Returns AbortablePromise<T>

Methods

  • Aborts the signal passed to the executor and instantly rejects the promise with the reason.

    Parameters

    • Optional reason: any

      The abort reason. If not explicitly provided, it defaults to an AbortError.

      -

    Returns void

\ No newline at end of file +

Returns void

\ No newline at end of file diff --git a/classes/AsyncQueue.html b/classes/AsyncQueue.html index c8c1ec2..9f5018d 100644 --- a/classes/AsyncQueue.html +++ b/classes/AsyncQueue.html @@ -1,4 +1,4 @@ -AsyncQueue | parallel-universe - v5.0.0

Class AsyncQueue<T>

Asynchronous queue decouples value producers and value consumers.

+AsyncQueue | parallel-universe - v5.0.1

Class AsyncQueue<T>

Asynchronous queue decouples value producers and value consumers.

Type Parameters

  • T = any

    The value stored in the queue.

Constructors

Accessors

size @@ -22,4 +22,4 @@

Returns AbortablePromise<ValueAck<T>>

A tuple that contains a value available in the queue, and a callback that acknowledges that the value was processed and should be removed from the queue. Aborting the returned promise after a consumer received an acknowledgement callback is a no-op.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/classes/Blocker.html b/classes/Blocker.html index 11cdbc7..7975c6d 100644 --- a/classes/Blocker.html +++ b/classes/Blocker.html @@ -1,4 +1,4 @@ -Blocker | parallel-universe - v5.0.0

Class Blocker<T>

Provides mechanism for blocking async processes and unblocking them from an external context.

+Blocker | parallel-universe - v5.0.1

Class Blocker<T>

Provides mechanism for blocking async processes and unblocking them from an external context.

Type Parameters

  • T = void

    The value that can be passed to unblock to resolve the block promise.

Constructors

Accessors

isBlocked @@ -12,4 +12,4 @@

Parameters

  • listener: (() => void)

    The listener that would be notified.

      • (): void
      • Returns void

Returns (() => void)

The callback to unsubscribe the listener.

    • (): void
    • Returns void

  • Fulfills the promise returned from block. If the blocker isn't blocked then no-op.

    -

    Parameters

    • result: T

    Returns void

\ No newline at end of file +

Parameters

  • result: T

Returns void

\ No newline at end of file diff --git a/classes/Deferred.html b/classes/Deferred.html index 7db7430..0965e95 100644 --- a/classes/Deferred.html +++ b/classes/Deferred.html @@ -1,4 +1,4 @@ -Deferred | parallel-universe - v5.0.0

Class Deferred<T>

The promise that can be resolved externally.

+Deferred | parallel-universe - v5.0.1

Class Deferred<T>

The promise that can be resolved externally.

Type Parameters

  • T

    The value that the promise is fulfilled with.

Hierarchy

Constructors

Properties

reject @@ -27,4 +27,4 @@

Returns void

Param: value

If this value is not a promise, including undefined, it becomes the fulfillment value of the associated promise. If this value is a promise, then the associated promise will be resolved to the passed promise, and follow the state as the provided promise (including any future transitions).

-
\ No newline at end of file +
\ No newline at end of file diff --git a/classes/Executor.html b/classes/Executor.html index feec178..0a629f9 100644 --- a/classes/Executor.html +++ b/classes/Executor.html @@ -1,4 +1,4 @@ -Executor | parallel-universe - v5.0.0

Class Executor<T>

Manages async callback execution process and provides ways to access execution results, abort or replace an +Executor | parallel-universe - v5.0.1

Class Executor<T>

Manages async callback execution process and provides ways to access execution results, abort or replace an execution, and subscribe to its state changes.

Type Parameters

  • T = any

    The value stored by the executor.

Constructors

constructor @@ -33,9 +33,9 @@

Returns AbortablePromise<T>

The promise that is resolved with the result of the callback execution.

  • Returns a value, or the default value if the value isn't available.

    Parameters

    • defaultValue: T

      The default value.

      -

    Returns T

  • Instantly aborts pending execution and rejects with the given reason.

    -

    Parameters

    • reason: any

    Returns this

  • Aborts pending execution and fulfills it with the given value.

    +

Returns T

  • Instantly aborts pending execution and rejects with the reason.

    +

    Parameters

    • reason: any

    Returns this

  • Aborts pending execution and fulfills it with the value.

    Parameters

    Returns this

  • Subscribes a listener to the execution state changes.

    Parameters

    • listener: (() => void)

      The listener that would be notified.

        • (): void
        • Returns void

    Returns (() => void)

    The callback to unsubscribe the listener.

    -
      • (): void
      • Returns void

\ No newline at end of file +
\ No newline at end of file diff --git a/classes/Lock.html b/classes/Lock.html index 53a2a62..42f1483 100644 --- a/classes/Lock.html +++ b/classes/Lock.html @@ -1,4 +1,4 @@ -Lock | parallel-universe - v5.0.0

Promise-based lock implementation.

+Lock | parallel-universe - v5.0.1

Promise-based lock implementation.

When someone tries to acquire a Lock they receive a promise for a release callback that is fulfilled as soon as previous lock owner invokes their release callback.

See

https://en.wikipedia.org/wiki/Lock_(computer_science) Lock (computer science)

@@ -11,4 +11,4 @@

Returns Promise<(() => void)>

  • Subscribes a listener to the isLocked status changes.

    Parameters

    • listener: (() => void)

      The listener that would be notified.

        • (): void
        • Returns void

    Returns (() => void)

    The callback to unsubscribe the listener.

    -
      • (): void
      • Returns void

\ No newline at end of file +
\ No newline at end of file diff --git a/classes/PubSub.html b/classes/PubSub.html index 3ae88bf..327d98d 100644 --- a/classes/PubSub.html +++ b/classes/PubSub.html @@ -1,4 +1,4 @@ -PubSub | parallel-universe - v5.0.0

Publish–subscribe pattern implementation that guarantees the delivery of published messages even if any of listeners +PubSub | parallel-universe - v5.0.1

Publish–subscribe pattern implementation that guarantees the delivery of published messages even if any of listeners would throw an error.

Type Parameters

  • T = void

    The published message.

Constructors

constructor @@ -9,4 +9,4 @@

Returns void

  • Adds a listener that would receive all messages published via publish.

    Parameters

    • listener: ((message) => any)

      The callback.

        • (message): any
        • Parameters

          • message: T

          Returns any

    Returns (() => void)

    The callback that unsubscribes the listener.

    -
      • (): void
      • Returns void

\ No newline at end of file +
    • (): void
    • Returns void

\ No newline at end of file diff --git a/classes/WorkPool.html b/classes/WorkPool.html index 9b73af3..a0e7850 100644 --- a/classes/WorkPool.html +++ b/classes/WorkPool.html @@ -1,4 +1,4 @@ -WorkPool | parallel-universe - v5.0.0

The callback execution pool that can execute limited number of callbacks in parallel while other submitted callbacks +WorkPool | parallel-universe - v5.0.1

The callback execution pool that can execute limited number of callbacks in parallel while other submitted callbacks wait in the queue.

Constructors

Accessors

size @@ -23,4 +23,4 @@

Type Parameters

  • T

    The callback result.

Parameters

Returns AbortablePromise<T>

The promise that is fulfilled with the callback result.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/functions/delay.html b/functions/delay.html index 9f9b9c0..991c8ea 100644 --- a/functions/delay.html +++ b/functions/delay.html @@ -1,4 +1,4 @@ -delay | parallel-universe - v5.0.0
  • Returns a promise that is fulfilled with undefined after a timeout elapses.

    +delay | parallel-universe - v5.0.1
    • Returns a promise that is fulfilled with undefined after a timeout elapses.

      Parameters

      • ms: number

        The timeout in milliseconds after which the returned promise is fulfilled.

      Returns AbortablePromise<void>

      The promise that is fulfilled after a timeout.

    • Returns a promise that is fulfilled with a value after a timeout elapses.

      @@ -6,4 +6,4 @@

    Parameters

    • ms: number

      The timeout in milliseconds after which the returned promise is fulfilled.

    • value: Awaitable<T>

      The value to fulfill the promise with.

    Returns AbortablePromise<T>

    The promise that is fulfilled with the value after the timeout elapses.

    -
\ No newline at end of file +
\ No newline at end of file diff --git a/functions/isPromiseLike.html b/functions/isPromiseLike.html index 4bda229..16c25a3 100644 --- a/functions/isPromiseLike.html +++ b/functions/isPromiseLike.html @@ -1,2 +1,2 @@ -isPromiseLike | parallel-universe - v5.0.0

Function isPromiseLike

  • Returns true is value has then property that is a function.

    -

    Type Parameters

    • T

    Parameters

    • value: any

    Returns value is PromiseLike<T>

\ No newline at end of file +isPromiseLike | parallel-universe - v5.0.1

Function isPromiseLike

  • Returns true is value has then property that is a function.

    +

    Type Parameters

    • T

    Parameters

    • value: any

    Returns value is PromiseLike<T>

\ No newline at end of file diff --git a/functions/repeat.html b/functions/repeat.html index a318b8c..ab7ff43 100644 --- a/functions/repeat.html +++ b/functions/repeat.html @@ -1,4 +1,4 @@ -repeat | parallel-universe - v5.0.0
  • Invokes a callback periodically with the given delay between settlements of returned promises until the condition is +repeat | parallel-universe - v5.0.1

    • Invokes a callback periodically with the given delay between settlements of returned promises until the condition is met. If callback throws an error or returns a rejected promise, then the promise returned from repeat is rejected.

      Type Parameters

      • I

        The value returned by the callback.

        @@ -21,4 +21,4 @@ iteration. The condition is checked before the next iteration is scheduled. If omitted then loop is repeated indefinitely.

          • (value, index): unknown
          • Parameters

            • value: T
            • index: number

            Returns unknown

    Returns AbortablePromise<T>

    The promise that is fulfilled with the callback result.

    -
\ No newline at end of file +
\ No newline at end of file diff --git a/functions/timeout.html b/functions/timeout.html index b09ef61..ee5dcbd 100644 --- a/functions/timeout.html +++ b/functions/timeout.html @@ -1,7 +1,7 @@ -timeout | parallel-universe - v5.0.0

Function timeout

\ No newline at end of file diff --git a/functions/waitFor.html b/functions/waitFor.html index d67ab7e..5d8043f 100644 --- a/functions/waitFor.html +++ b/functions/waitFor.html @@ -1,7 +1,7 @@ -waitFor | parallel-universe - v5.0.0

Function waitFor

\ No newline at end of file diff --git a/index.html b/index.html index a3322be..86ac331 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -parallel-universe - v5.0.0

parallel-universe - v5.0.0

Index

Classes

AbortablePromise +parallel-universe - v5.0.1
\ No newline at end of file +
\ No newline at end of file diff --git a/types/AbortableCallback.html b/types/AbortableCallback.html index 415309c..d26b3f5 100644 --- a/types/AbortableCallback.html +++ b/types/AbortableCallback.html @@ -1,3 +1,3 @@ -AbortableCallback | parallel-universe - v5.0.0

Type alias AbortableCallback<T>

AbortableCallback<T>: ((signal) => Awaitable<T>)

The callback that receives a signal that is aborted when execution must be stopped, and returns the execution value.

+AbortableCallback | parallel-universe - v5.0.1

Type alias AbortableCallback<T>

AbortableCallback<T>: ((signal) => Awaitable<T>)

The callback that receives a signal that is aborted when execution must be stopped, and returns the execution value.

Type Parameters

  • T

    The returned value.

    -

Type declaration

\ No newline at end of file +

Type declaration

\ No newline at end of file diff --git a/types/Awaitable.html b/types/Awaitable.html index 4a8c2f6..89ac681 100644 --- a/types/Awaitable.html +++ b/types/Awaitable.html @@ -1,3 +1,3 @@ -Awaitable | parallel-universe - v5.0.0

Type alias Awaitable<T>

Awaitable<T>: PromiseLike<T> | T

The promise-like value that can be settled using await.

+Awaitable | parallel-universe - v5.0.1

Type alias Awaitable<T>

Awaitable<T>: PromiseLike<T> | T

The promise-like value that can be settled using await.

Type Parameters

  • T

    The result value.

    -
\ No newline at end of file +
\ No newline at end of file diff --git a/types/ValueAck.html b/types/ValueAck.html index 23ed37c..e93581f 100644 --- a/types/ValueAck.html +++ b/types/ValueAck.html @@ -1,4 +1,4 @@ -ValueAck | parallel-universe - v5.0.0

Type alias ValueAck<T>

ValueAck<T>: [value: T, ack: ((isTaken) => void)]

The protocol provided to the AsyncQueue consumer, so it can acknowledge that the value was processed and +ValueAck | parallel-universe - v5.0.1

Type alias ValueAck<T>

ValueAck<T>: [value: T, ack: ((isTaken) => void)]

The protocol provided to the AsyncQueue consumer, so it can acknowledge that the value was processed and should be removed from the queue.

Type Parameters

  • T

    The value taken from the queue.

    -
\ No newline at end of file +
\ No newline at end of file