diff --git a/assets/search.js b/assets/search.js index 4d302d7..78fb401 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA7Va226kOBD9F88r02lfoC9v2VmttNI8ZDXS7ANqRUA7O2xo6OGS7GyUf18ZDFSBTbsz2ScSXFWnXOf4gt0vpCyeK7IPX8hjmh/JnrKtR/LoJMme3MZFWUdxJu/K4pRWknikKTOyJ0kWVZWsbqYGq2/1KSNe3072hLx6fWQWMCrEEDyszjJJZXVwi/rhXtvf4/geOUelzGtTuiO2T9kAnBR5VZdNUhelIzT2uBqcrcVY00jZOeL2tj+H+JzW376kf+VR5giLHK7GRgKqfuTJH41sDNIZmhZF40wcDudG2ZidVaVV+u/F3D9oo2tQkCTOZ5kfL6IMZm/FqaPHy33RRj+DcZs8OsF0dm9FCtNallFdlIYJZAJ235suzB0mPCjlX7IieZRz4en37yJiGMtJwX1SVvmmVWcyVxfCgmbOSJCMWDUvY/Qmb4rf5A4Io5ErBiT4V/kgy9JQqb7hfRY3FM1hURvSul5OGMpFTwYwumZjt0pZFdnTfBLBSKOVM0rg+zwYYO7v6x9nR5RVZ/yRXYRb9XlZO/e3TOZL8xRVG/2/XVMgq8H2Yr/anMyy/mwaNurlu8xYQyAnebW5LMxVn81T1QgCTNwQ0DKbfG/Scl77Mfxo4RQdlvmuib808Sx29/pdSg1CORVbZ2Qtd5ZWtcxl+alo8rnqIdrU0hUPFv/cxFlafVvEGW3eglA1cZWUaTwnGGJAK0cUpwFsxFgNf32kl0azDmDwta+Jg8ltNt/bw4xmpo5dhwr/sygf74piDtQ3vIvKUTAnnQ95XbeHx0CLO3gTAlKerL84QAxWb0Rp4lM6H6gTkN7obRjmj1MMsfxRakAIRiaOMot+DPEfmjyp0yKvbtr3i/oJ4Dp9llFtiNI1uIepS1Mu7XvXIHV6kkVjSka3uAZ6jtL6NzAexkC6ZXn3ud5tqD+OsK9R1qDPMDX1VDf966ti3aoE1Kf+JNj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5MJPLDuRqG+RwuAfABACzpXpu4kodrAI3KBWbpvtzepDlFrjZSOy//AH3AE1wq5u+8QBwYOYxWyX1CQFAA/UXtlJWsu5Ok0BNAAXc1ganTiDDjZ5LtnLqayo0QKAzPUOt3vrMCIwTqFTYqgNOUsFIQdbcxkd3iT06AeptxVEuk7UF1JTachyOZ8DYgKyFrXsOd5WgoMCP2qY8OGeN1DkrKAxYXLgN9lmdz0yXUNATha0nqsXlcdKxgR/XPVvY8lZ/U1LpvykZQ8BK2RyL8uncHgoDZMAnNyIePHJOzzJLc0n24eH19T8U3suY6CQAAA=="; \ No newline at end of file diff --git a/classes/AbortablePromise.html b/classes/AbortablePromise.html index a160a43..e98771d 100644 --- a/classes/AbortablePromise.html +++ b/classes/AbortablePromise.html @@ -1,4 +1,4 @@ -AbortablePromise | parallel-universe - v6.0.0

Class AbortablePromise<T>

The promise that can be aborted.

+AbortablePromise | parallel-universe - v6.1.0

Class AbortablePromise<T>

The promise that can be aborted.

Type Parameters

  • T

    The value that the promise is resolved with.

Hierarchy

Constructors

Accessors

[species] @@ -18,4 +18,4 @@

Returns void

  • Subscribes this promise to be aborted when the signal is aborted.

    Parameters

    • signal: AbortSignal

      The signal that aborts this promise.

    Returns this

    This promise.

    -
\ No newline at end of file +
\ No newline at end of file diff --git a/classes/AsyncQueue.html b/classes/AsyncQueue.html index 75d4e4e..fb7581d 100644 --- a/classes/AsyncQueue.html +++ b/classes/AsyncQueue.html @@ -1,4 +1,4 @@ -AsyncQueue | parallel-universe - v6.0.0

Class AsyncQueue<T>

Asynchronous queue decouples value producers and value consumers.

+AsyncQueue | parallel-universe - v6.1.0

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 c1602f4..5ca55ea 100644 --- a/classes/Blocker.html +++ b/classes/Blocker.html @@ -1,4 +1,4 @@ -Blocker | parallel-universe - v6.0.0

Class Blocker<T>

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

+Blocker | parallel-universe - v6.1.0

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 @@ -8,4 +8,4 @@

Returns boolean

Methods

  • Returns promises that is fulfilled with the result passed to unblock. If blocker is already blocked then the same promise is returned.

    Returns Promise<T>

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

    -

    Parameters

    • value: T

    Returns void

\ No newline at end of file +

Parameters

  • value: T

Returns void

\ No newline at end of file diff --git a/classes/Deferred.html b/classes/Deferred.html index d7dc329..1b4206c 100644 --- a/classes/Deferred.html +++ b/classes/Deferred.html @@ -1,4 +1,4 @@ -Deferred | parallel-universe - v6.0.0

Class Deferred<T>

The promise that can be resolved externally.

+Deferred | parallel-universe - v6.1.0

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 @@ -17,4 +17,4 @@

Type declaration

    • (value): void
    • Parameters

      • value: Awaitable<T>

        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).

        -

      Returns void

Accessors

  • get [species](): PromiseConstructor
  • Returns PromiseConstructor

\ No newline at end of file +

Returns void

Accessors

\ No newline at end of file diff --git a/classes/Lock.html b/classes/Lock.html index 6423b0f..0015bb2 100644 --- a/classes/Lock.html +++ b/classes/Lock.html @@ -1,4 +1,4 @@ -Lock | parallel-universe - v6.0.0

Promise-based lock implementation.

+Lock | parallel-universe - v6.1.0

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)

@@ -7,4 +7,4 @@

Methods

Constructors

Accessors

  • get isLocked(): boolean
  • true if Lock was acquired and wasn't released yet.

    Returns boolean

Methods

  • Waits for the Lock to become available and fulfills it with the callback that releases the lock.

    -

    Returns Promise<(() => void)>

\ No newline at end of file +

Returns Promise<(() => void)>

\ No newline at end of file diff --git a/classes/PubSub.html b/classes/PubSub.html index 174a24d..842d480 100644 --- a/classes/PubSub.html +++ b/classes/PubSub.html @@ -1,4 +1,4 @@ -PubSub | parallel-universe - v6.0.0

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

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 @@ -6,10 +6,18 @@

Methods

Constructors

Accessors

  • get listenerCount(): number
  • The number of subscribed listeners.

    Returns number

Methods

  • Synchronously invokes listeners with the published message.

    Parameters

    • message: T

      The published message.

    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

  • Returns void

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

  • Returns void

  • Waits for a message that satisfies the given predicate to be published and resolves with that message.

    +

    Type Parameters

    • R

      A subtype of T that the predicate function identifies as satisfying the condition.

      +

    Parameters

    • predicate: ((message) => message is R)

      A function that takes the message as a parameter and returns true if the message satisfies the condition, otherwise false.

      +
        • (message): message is R
        • Parameters

          • message: T

          Returns message is R

    Returns AbortablePromise<R>

    An AbortablePromise that resolves with the published message that satisfies the predicate.

    +
  • Waits for a message that satisfies the given predicate to be published and resolves with that message.

    +

    Parameters

    • predicate: ((message) => boolean)

      A function that takes the message as a parameter and returns true if the message satisfies the condition, otherwise false.

      +
        • (message): boolean
        • Parameters

          • message: T

          Returns boolean

    Returns AbortablePromise<T>

    An AbortablePromise that resolves with the published message that satisfies the predicate.

    +
\ No newline at end of file diff --git a/classes/WorkPool.html b/classes/WorkPool.html index ea4199b..69fb1f1 100644 --- a/classes/WorkPool.html +++ b/classes/WorkPool.html @@ -1,4 +1,4 @@ -WorkPool | parallel-universe - v6.0.0

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

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 bd143d1..ecbd25f 100644 --- a/functions/delay.html +++ b/functions/delay.html @@ -1,4 +1,4 @@ -delay | parallel-universe - v6.0.0
  • Returns a promise that is fulfilled with undefined after a timeout elapses.

    +delay | parallel-universe - v6.1.0
    • 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/repeat.html b/functions/repeat.html index a5a6ca7..6750222 100644 --- a/functions/repeat.html +++ b/functions/repeat.html @@ -1,4 +1,4 @@ -repeat | parallel-universe - v6.0.0
  • Invokes a callback periodically with the given delay between fulfillment of returned promises until the condition is +repeat | parallel-universe - v6.1.0

    • Invokes a callback periodically with the given delay between fulfillment 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.

        @@ -23,4 +23,4 @@ indefinitely.

          • (value, index): unknown
          • Parameters

            • value: T
            • index: number

            Returns unknown

    Returns AbortablePromise<T>

    The promise that is fulfilled with the callback result.

    See

    retry

    -
\ No newline at end of file +
\ No newline at end of file diff --git a/functions/retry.html b/functions/retry.html index 55e538c..c4fce42 100644 --- a/functions/retry.html +++ b/functions/retry.html @@ -1,4 +1,4 @@ -retry | parallel-universe - v6.0.0
  • Invokes a callback periodically until it successfully returns the result. If a callback throws an error or returns +retry | parallel-universe - v6.1.0

    • Invokes a callback periodically until it successfully returns the result. If a callback throws an error or returns a promise that is rejected then it is invoked again after a delay.

      Type Parameters

      • T

        The value returned by the callback.

      Parameters

      • cb: ((signal, index) => Awaitable<T>)

        The callback that must return the fulfilled result.

        @@ -7,4 +7,4 @@
      • Optional maxCount: number

        The maximum number of retries after which the last rejection reason is thrown.

      Returns AbortablePromise<T>

      The promise that is fulfilled with the callback result.

      See

      repeat

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

Function timeout

  • Returns a promise that is fulfilled with a produced value, or rejected after the timeout elapses.

    +timeout | parallel-universe - v6.1.0

    Function timeout

    • Returns a promise that is fulfilled with a produced value, or rejected after the timeout elapses.

      Type Parameters

      • T

        The value returned from the callback or promise.

      Parameters

      • cb: AbortableCallback<T> | PromiseLike<T>

        A callback that receives a signal that is aborted if the timeout elapses, or a promise-like object.

      • ms: number

        The timeout after which the returned promise is rejected.

      Returns AbortablePromise<T>

      The promise that is fulfilled before a timeout elapses, or rejected with a TimeoutError.

      -
    \ No newline at end of file +
\ No newline at end of file diff --git a/functions/waitFor.html b/functions/waitFor.html index 892c953..7fdfb21 100644 --- a/functions/waitFor.html +++ b/functions/waitFor.html @@ -1,7 +1,7 @@ -waitFor | parallel-universe - v6.0.0

Function waitFor

  • Polls the callback until it returns a truthy value or rejects.

    +waitFor | parallel-universe - v6.1.0

    Function waitFor

    • Polls the callback until it returns a truthy value or rejects.

      Type Parameters

      • T

        The value returned by the callback.

      Parameters

      • cb: ((signal, index) => Awaitable<T>)

        The callback that is periodically invoked.

      • Optional ms: number | ((value, index) => number)

        The number of milliseconds between the settlement of the last promise returned by the callback and the next invocation. Or a callback that receives the latest value and returns the delay. If omitted then delay is 0.

      Returns AbortablePromise<Exclude<T, false | 0 | "" | null | undefined>>

      The truthy value.

      -
    \ No newline at end of file +
\ No newline at end of file diff --git a/index.html b/index.html index a98fd41..9e3ff99 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -parallel-universe - v6.0.0

parallel-universe - v6.0.0

Index

Classes

AbortablePromise +parallel-universe - v6.1.0

parallel-universe - v6.1.0

Index

Classes

\ No newline at end of file +
\ No newline at end of file diff --git a/types/AbortableCallback.html b/types/AbortableCallback.html index f7265e4..d6643c0 100644 --- a/types/AbortableCallback.html +++ b/types/AbortableCallback.html @@ -1,3 +1,3 @@ -AbortableCallback | parallel-universe - v6.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 - v6.1.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.

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 8a4b5c8..61f5d1a 100644 --- a/types/Awaitable.html +++ b/types/Awaitable.html @@ -1,3 +1,3 @@ -Awaitable | parallel-universe - v6.0.0

Type alias Awaitable<T>

Awaitable<T>: PromiseLike<T> | T

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

+Awaitable | parallel-universe - v6.1.0

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 68063e1..7420c14 100644 --- a/types/ValueAck.html +++ b/types/ValueAck.html @@ -1,4 +1,4 @@ -ValueAck | parallel-universe - v6.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 - v6.1.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 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