From 74340f9af6877595da40d99ef28940296b7a5b68 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 20 Jun 2024 19:56:57 +0000 Subject: [PATCH] Updated docs (bebe4a6) --- classes/react_executor.ExecutorManager.html | 4 ++-- classes/ssr.ReadableSSRExecutorManager.html | 4 ++-- classes/ssr.SSRExecutorManager.html | 4 ++-- classes/ssr_node.PipeableSSRExecutorManager.html | 4 ++-- functions/plugin_abortDeactivated.default.html | 4 ++-- functions/plugin_abortPending.default.html | 4 ++-- functions/plugin_abortWhen.default.html | 4 ++-- functions/plugin_bindAll.default.html | 4 ++-- functions/plugin_detachDeactivated.default.html | 4 ++-- functions/plugin_invalidateAfter.default.html | 4 ++-- functions/plugin_invalidateByPeers.default.html | 4 ++-- functions/plugin_invalidatePeers.default.html | 4 ++-- functions/plugin_rejectPending.default.html | 4 ++-- functions/plugin_resolveWhen.default.html | 4 ++-- functions/plugin_retryFulfilled.default.html | 4 ++-- functions/plugin_retryInvalidated.default.html | 4 ++-- functions/plugin_retryRejected.default.html | 4 ++-- functions/plugin_retryWhen.default.html | 4 ++-- functions/plugin_synchronizeStorage.default.html | 4 ++-- functions/react_executor.ExecutorManagerProvider.html | 4 ++-- functions/react_executor.enableSSRHydration.html | 4 ++-- functions/react_executor.useExecutor.html | 4 ++-- functions/react_executor.useExecutorManager.html | 4 ++-- functions/react_executor.useExecutorSubscription.html | 4 ++-- functions/react_executor.useExecutorSuspense.html | 7 ++++--- hierarchy.html | 2 +- index.html | 4 ++-- interfaces/plugin_synchronizeStorage.Serializer.html | 4 ++-- ...lugin_synchronizeStorage.SynchronizeStorageOptions.html | 4 ++-- interfaces/react_executor.Executor.html | 4 ++-- interfaces/react_executor.ExecutorAnnotations.html | 4 ++-- interfaces/react_executor.ExecutorEvent.html | 4 ++-- interfaces/react_executor.ExecutorManagerOptions.html | 4 ++-- interfaces/react_executor.ExecutorState.html | 4 ++-- interfaces/react_executor.Observable.html | 4 ++-- interfaces/react_executor.SSRHydrationOptions.html | 4 ++-- interfaces/ssr.SSRExecutorManagerOptions.html | 4 ++-- modules/core.html | 4 ++-- modules/observable_windowFocused.html | 4 ++-- modules/observable_windowOnline.html | 4 ++-- modules/plugin_abortDeactivated.html | 4 ++-- modules/plugin_abortPending.html | 4 ++-- modules/plugin_abortWhen.html | 4 ++-- modules/plugin_bindAll.html | 4 ++-- modules/plugin_detachDeactivated.html | 4 ++-- modules/plugin_invalidateAfter.html | 4 ++-- modules/plugin_invalidateByPeers.html | 4 ++-- modules/plugin_invalidatePeers.html | 4 ++-- modules/plugin_rejectPending.html | 4 ++-- modules/plugin_resolveWhen.html | 4 ++-- modules/plugin_retryFulfilled.html | 4 ++-- modules/plugin_retryInvalidated.html | 4 ++-- modules/plugin_retryRejected.html | 4 ++-- modules/plugin_retryWhen.html | 4 ++-- modules/plugin_synchronizeStorage.html | 4 ++-- modules/react_executor.html | 4 ++-- modules/ssr.html | 4 ++-- modules/ssr_node.html | 4 ++-- types/react_executor.ExecutorPlugin.html | 4 ++-- types/react_executor.ExecutorTask.html | 4 ++-- variables/observable_windowFocused.default.html | 4 ++-- variables/observable_windowOnline.default.html | 4 ++-- 62 files changed, 125 insertions(+), 124 deletions(-) diff --git a/classes/react_executor.ExecutorManager.html b/classes/react_executor.ExecutorManager.html index 15a100b..2ea0737 100644 --- a/classes/react_executor.ExecutorManager.html +++ b/classes/react_executor.ExecutorManager.html @@ -1,4 +1,4 @@ -ExecutorManager | React Executor - v0.0.15

Creates executors and manages their lifecycle.

+ExecutorManager | React Executor - v0.0.16

Creates executors and manages their lifecycle.

Hierarchy (view full)

Implements

Constructors

Properties

_executors _initialState @@ -47,4 +47,4 @@

Parameters

  • listener: ((event) => void)

    The listener to subscribe.

Returns (() => void)

The callback that unsubscribes the listener.

    • (): void
    • Returns void

\ No newline at end of file +

Returns ExecutorState<any>[]

\ No newline at end of file diff --git a/classes/ssr.ReadableSSRExecutorManager.html b/classes/ssr.ReadableSSRExecutorManager.html index e210fff..459ff55 100644 --- a/classes/ssr.ReadableSSRExecutorManager.html +++ b/classes/ssr.ReadableSSRExecutorManager.html @@ -1,4 +1,4 @@ -ReadableSSRExecutorManager | React Executor - v0.0.15

Class ReadableSSRExecutorManager

The streaming executor manager that can be used as a transformer for +ReadableSSRExecutorManager | React Executor - v0.0.16

Class ReadableSSRExecutorManager

The streaming executor manager that can be used as a transformer for Web Streams. It enqueues executor hydration chunks into the after each chunk from the read side.

Hierarchy (view full)

Implements

  • ReadableWritablePair

Constructors

constructor @@ -72,4 +72,4 @@

Parameters

  • listener: ((event) => void)

    The listener to subscribe.

Returns (() => void)

The callback that unsubscribes the listener.

    • (): void
    • Returns void

\ No newline at end of file +

Returns ExecutorState<any>[]

\ No newline at end of file diff --git a/classes/ssr.SSRExecutorManager.html b/classes/ssr.SSRExecutorManager.html index 3c3eca1..0a94c9f 100644 --- a/classes/ssr.SSRExecutorManager.html +++ b/classes/ssr.SSRExecutorManager.html @@ -1,4 +1,4 @@ -SSRExecutorManager | React Executor - v0.0.15

Class SSRExecutorManager

The base implementation of the executor manager that supports client hydration after SSR.

+SSRExecutorManager | React Executor - v0.0.16

Class SSRExecutorManager

The base implementation of the executor manager that supports client hydration after SSR.

Hierarchy (view full)

Constructors

Properties

_executorFilter _executors @@ -68,4 +68,4 @@

Parameters

  • listener: ((event) => void)

    The listener to subscribe.

Returns (() => void)

The callback that unsubscribes the listener.

    • (): void
    • Returns void

\ No newline at end of file +

Returns ExecutorState<any>[]

\ No newline at end of file diff --git a/classes/ssr_node.PipeableSSRExecutorManager.html b/classes/ssr_node.PipeableSSRExecutorManager.html index 710654e..c0febd4 100644 --- a/classes/ssr_node.PipeableSSRExecutorManager.html +++ b/classes/ssr_node.PipeableSSRExecutorManager.html @@ -1,4 +1,4 @@ -PipeableSSRExecutorManager | React Executor - v0.0.15

Class PipeableSSRExecutorManager

Streaming executor manager for NodeJS environment.

+PipeableSSRExecutorManager | React Executor - v0.0.16

Class PipeableSSRExecutorManager

Streaming executor manager for NodeJS environment.

Hierarchy (view full)

Constructors

Properties

_executorFilter _executors @@ -71,4 +71,4 @@

Parameters

  • listener: ((event) => void)

    The listener to subscribe.

Returns (() => void)

The callback that unsubscribes the listener.

    • (): void
    • Returns void

\ No newline at end of file +

Returns ExecutorState<any>[]

\ No newline at end of file diff --git a/functions/plugin_abortDeactivated.default.html b/functions/plugin_abortDeactivated.default.html index 98d651b..9bedbc6 100644 --- a/functions/plugin_abortDeactivated.default.html +++ b/functions/plugin_abortDeactivated.default.html @@ -1,3 +1,3 @@ -default | React Executor - v0.0.15
  • Aborts the pending task after the timeout if the executor is deactivated.

    +default | React Executor - v0.0.16
    • Aborts the pending task after the timeout if the executor is deactivated.

      Parameters

      • ms: number = 0

        The timeout in milliseconds after which the task is aborted.

        -

      Returns ExecutorPlugin

    \ No newline at end of file +

Returns ExecutorPlugin

\ No newline at end of file diff --git a/functions/plugin_abortPending.default.html b/functions/plugin_abortPending.default.html index cf50ebd..cc86eab 100644 --- a/functions/plugin_abortPending.default.html +++ b/functions/plugin_abortPending.default.html @@ -1,4 +1,4 @@ -default | React Executor - v0.0.15
  • Aborts the pending task with TimeoutError if the task execution took longer then the given +default | React Executor - v0.0.16

    • Aborts the pending task with TimeoutError if the task execution took longer then the given timeout.

      Parameters

      • ms: number

        The timeout in milliseconds after which the task is aborted.

        -

      Returns ExecutorPlugin

    \ No newline at end of file +

Returns ExecutorPlugin

\ No newline at end of file diff --git a/functions/plugin_abortWhen.default.html b/functions/plugin_abortWhen.default.html index e1e1708..1aa15d0 100644 --- a/functions/plugin_abortWhen.default.html +++ b/functions/plugin_abortWhen.default.html @@ -1,4 +1,4 @@ -default | React Executor - v0.0.15
  • Aborts the pending task if the observable pushes false.

    +default | React Executor - v0.0.16
    • Aborts the pending task if the observable pushes false.

      Parameters

      • observable: Observable<boolean>

        The observable that trigger the abort of the executor.

      • ms: number = 0

        The timeout in milliseconds after false is pushed by observer before the executor is aborted.

        -

      Returns ExecutorPlugin

    \ No newline at end of file +

Returns ExecutorPlugin

\ No newline at end of file diff --git a/functions/plugin_bindAll.default.html b/functions/plugin_bindAll.default.html index 443ed4b..10a6b89 100644 --- a/functions/plugin_bindAll.default.html +++ b/functions/plugin_bindAll.default.html @@ -1,2 +1,2 @@ -default | React Executor - v0.0.15
\ No newline at end of file +default | React Executor - v0.0.16
\ No newline at end of file diff --git a/functions/plugin_detachDeactivated.default.html b/functions/plugin_detachDeactivated.default.html index 0a84b2c..b4fe83a 100644 --- a/functions/plugin_detachDeactivated.default.html +++ b/functions/plugin_detachDeactivated.default.html @@ -1,3 +1,3 @@ -default | React Executor - v0.0.15
  • Detaches a deactivated executor after the timeout.

    +default | React Executor - v0.0.16
    • Detaches a deactivated executor after the timeout.

      Parameters

      • ms: number = 5_000

        The timeout in milliseconds after which the executor is detached.

        -

      Returns ExecutorPlugin

    \ No newline at end of file +

Returns ExecutorPlugin

\ No newline at end of file diff --git a/functions/plugin_invalidateAfter.default.html b/functions/plugin_invalidateAfter.default.html index dc26428..07f3817 100644 --- a/functions/plugin_invalidateAfter.default.html +++ b/functions/plugin_invalidateAfter.default.html @@ -1,3 +1,3 @@ -default | React Executor - v0.0.15
  • Invalidates the settled executor result after the timeout.

    +default | React Executor - v0.0.16
    • Invalidates the settled executor result after the timeout.

      Parameters

      • ms: number

        The timeout in milliseconds after which the executor result is invalidated.

        -

      Returns ExecutorPlugin

    \ No newline at end of file +

Returns ExecutorPlugin

\ No newline at end of file diff --git a/functions/plugin_invalidateByPeers.default.html b/functions/plugin_invalidateByPeers.default.html index d8cf926..2172759 100644 --- a/functions/plugin_invalidateByPeers.default.html +++ b/functions/plugin_invalidateByPeers.default.html @@ -1,3 +1,3 @@ -default | React Executor - v0.0.15
  • Invalidates the executor result if another executor with a matching key is fulfilled or invalidated.

    +default | React Executor - v0.0.16
    • Invalidates the executor result if another executor with a matching key is fulfilled or invalidated.

      Parameters

      • peerMatcher: ((executor) => any)

        The callback that returns a truthy value for a matching peer executor.

        -
          • (executor): any
          • Parameters

            Returns any

      Returns ExecutorPlugin

    \ No newline at end of file +
      • (executor): any
      • Parameters

        Returns any

Returns ExecutorPlugin

\ No newline at end of file diff --git a/functions/plugin_invalidatePeers.default.html b/functions/plugin_invalidatePeers.default.html index 262c8b6..43611d9 100644 --- a/functions/plugin_invalidatePeers.default.html +++ b/functions/plugin_invalidatePeers.default.html @@ -1,3 +1,3 @@ -default | React Executor - v0.0.15
  • Invalidates peer executors with matching keys if the executor is fulfilled or invalidated.

    +default | React Executor - v0.0.16
    • Invalidates peer executors with matching keys if the executor is fulfilled or invalidated.

      Parameters

      • peerMatcher: ((executor) => any)

        The callback that returns a truthy value for a matching peer executor.

        -
          • (executor): any
          • Parameters

            Returns any

      Returns ExecutorPlugin

    \ No newline at end of file +
      • (executor): any
      • Parameters

        Returns any

Returns ExecutorPlugin

\ No newline at end of file diff --git a/functions/plugin_rejectPending.default.html b/functions/plugin_rejectPending.default.html index b0a3d0d..3fd4609 100644 --- a/functions/plugin_rejectPending.default.html +++ b/functions/plugin_rejectPending.default.html @@ -1,4 +1,4 @@ -default | React Executor - v0.0.15
  • Aborts the pending task and rejects the executor with TimeoutError if the task execution took +default | React Executor - v0.0.16

    • Aborts the pending task and rejects the executor with TimeoutError if the task execution took longer then the given timeout.

      Parameters

      • ms: number

        The timeout in milliseconds after which the executor is rejected.

        -

      Returns ExecutorPlugin

    \ No newline at end of file +

Returns ExecutorPlugin

\ No newline at end of file diff --git a/functions/plugin_resolveWhen.default.html b/functions/plugin_resolveWhen.default.html index 8ce5623..48a6fbc 100644 --- a/functions/plugin_resolveWhen.default.html +++ b/functions/plugin_resolveWhen.default.html @@ -1,4 +1,4 @@ -default | React Executor - v0.0.15
  • Resolves the executor with values pushed by an observable.

    +default | React Executor - v0.0.16
    \ No newline at end of file +

Returns ExecutorPlugin<Value>

\ No newline at end of file diff --git a/functions/plugin_retryFulfilled.default.html b/functions/plugin_retryFulfilled.default.html index 7eaa694..8ef677d 100644 --- a/functions/plugin_retryFulfilled.default.html +++ b/functions/plugin_retryFulfilled.default.html @@ -1,5 +1,5 @@ -default | React Executor - v0.0.15
  • Repeats the last task after the execution was fulfilled.

    +default | React Executor - v0.0.16
    • Repeats the last task after the execution was fulfilled.

      Type Parameters

      • Value = any

        The value stored by the executor.

      Parameters

      • count: number = Infinity

        The number of repetitions.

      • ms: number | ((index, executor) => number) = 5_000

        The delay in milliseconds after which the repetition is scheduled.

        -

      Returns ExecutorPlugin<Value>

    \ No newline at end of file +

Returns ExecutorPlugin<Value>

\ No newline at end of file diff --git a/functions/plugin_retryInvalidated.default.html b/functions/plugin_retryInvalidated.default.html index eecf3ac..7427537 100644 --- a/functions/plugin_retryInvalidated.default.html +++ b/functions/plugin_retryInvalidated.default.html @@ -1,2 +1,2 @@ -default | React Executor - v0.0.15
\ No newline at end of file +default | React Executor - v0.0.16
\ No newline at end of file diff --git a/functions/plugin_retryRejected.default.html b/functions/plugin_retryRejected.default.html index e420509..bee9b3f 100644 --- a/functions/plugin_retryRejected.default.html +++ b/functions/plugin_retryRejected.default.html @@ -1,5 +1,5 @@ -default | React Executor - v0.0.15
  • Retries the last task after the execution has failed.

    +default | React Executor - v0.0.16
    • Retries the last task after the execution has failed.

      Type Parameters

      • Value = any

        The value stored by the executor.

      Parameters

      • count: number = 3

        The number of times the task must be repeated if rejected.

      • ms: number | ((index, executor) => number) = exponentialDelay

        The delay in milliseconds after which the retry is scheduled.

        -

      Returns ExecutorPlugin<Value>

    \ No newline at end of file +

Returns ExecutorPlugin<Value>

\ No newline at end of file diff --git a/functions/plugin_retryWhen.default.html b/functions/plugin_retryWhen.default.html index fb6ef20..1a74b06 100644 --- a/functions/plugin_retryWhen.default.html +++ b/functions/plugin_retryWhen.default.html @@ -1,5 +1,5 @@ -default | React Executor - v0.0.15
  • Retries the latest task if the observable pushes false and then true.

    +default | React Executor - v0.0.16
    • Retries the latest task if the observable pushes false and then true.

      Parameters

      • observable: Observable<boolean>

        The observable that triggers the retry of the latest task.

      • ms: number = 0

        The timeout in milliseconds that should pass after false was pushed to retry the executor when true is pushed.

        -

      Returns ExecutorPlugin

    \ No newline at end of file +

Returns ExecutorPlugin

\ No newline at end of file diff --git a/functions/plugin_synchronizeStorage.default.html b/functions/plugin_synchronizeStorage.default.html index 846968d..de1e7ac 100644 --- a/functions/plugin_synchronizeStorage.default.html +++ b/functions/plugin_synchronizeStorage.default.html @@ -1,7 +1,7 @@ -default | React Executor - v0.0.15
  • Persists the executor value in the synchronous storage.

    +default | React Executor - v0.0.16
    • Persists the executor value in the synchronous storage.

      Synchronization is enabled only for activated executors. If executor is detached, then the corresponding item is removed from the storage.

      Type Parameters

      • Value = any

        The value persisted in the storage.

      Parameters

      • storage: Pick<Storage, "getItem" | "removeItem" | "setItem">

        The storage where executor value is persisted, usually a localStorage or a sessionStorage.

      • options: SynchronizeStorageOptions<Value> = {}

        Additional options.

        -

      Returns ExecutorPlugin<Value>

    \ No newline at end of file +

Returns ExecutorPlugin<Value>

\ No newline at end of file diff --git a/functions/react_executor.ExecutorManagerProvider.html b/functions/react_executor.ExecutorManagerProvider.html index 7564c21..e73c8d4 100644 --- a/functions/react_executor.ExecutorManagerProvider.html +++ b/functions/react_executor.ExecutorManagerProvider.html @@ -1,6 +1,6 @@ -ExecutorManagerProvider | React Executor - v0.0.15
  • +ExecutorManagerProvider | React Executor - v0.0.16
    • — Big man in a suit of armour. Take that off, what are you?

      — Executor, manager, provider.

      Provides the ExecutorManager to underlying components.

      -

      Parameters

      Returns ReactNode

    \ No newline at end of file +

    Parameters

    Returns ReactNode

\ No newline at end of file diff --git a/functions/react_executor.enableSSRHydration.html b/functions/react_executor.enableSSRHydration.html index 1275a57..e0c09a3 100644 --- a/functions/react_executor.enableSSRHydration.html +++ b/functions/react_executor.enableSSRHydration.html @@ -1,7 +1,7 @@ -enableSSRHydration | React Executor - v0.0.15
  • Enables the SSR hydration for the given executor.

    +enableSSRHydration | React Executor - v0.0.16
    • Enables the SSR hydration for the given executor.

      Note: SSR hydration can be enabled for one executor only.

      Type Parameters

      Parameters

      • manager: T

        The executor manager for which SSR hydration must be enabled.

      • options: SSRHydrationOptions = {}

        Additional options.

      Returns T

      The provided executor manager.

      -
    \ No newline at end of file +
\ No newline at end of file diff --git a/functions/react_executor.useExecutor.html b/functions/react_executor.useExecutor.html index 9537283..63fceab 100644 --- a/functions/react_executor.useExecutor.html +++ b/functions/react_executor.useExecutor.html @@ -1,4 +1,4 @@ -useExecutor | React Executor - v0.0.15
  • Gets an existing executor or create a new executor using the ExecutorManager.

    +useExecutor | React Executor - v0.0.16
    • Gets an existing executor or create a new executor using the ExecutorManager.

      All hook usages with the same key, return the same Executor instance.

      The component is re-rendered when an executor's state is changed. The executor is activated after mount and deactivated before unmount.

      @@ -16,4 +16,4 @@
    • Optional initialValue: Value | ExecutorTask<Value> | PromiseLike<Value>

      The initial executor value that is applied when executor is created by the executor manager.

    • Optional plugins: (undefined | null | ExecutorPlugin<NoInfer<Value>>)[]

      The array of plugins that are applied to the newly created executor.

    Returns Executor<Value>

    The executor associated with the key.

    -
\ No newline at end of file +
\ No newline at end of file diff --git a/functions/react_executor.useExecutorManager.html b/functions/react_executor.useExecutorManager.html index d0ecf1e..6ad0ef8 100644 --- a/functions/react_executor.useExecutorManager.html +++ b/functions/react_executor.useExecutorManager.html @@ -1,2 +1,2 @@ -useExecutorManager | React Executor - v0.0.15
\ No newline at end of file +useExecutorManager | React Executor - v0.0.16
\ No newline at end of file diff --git a/functions/react_executor.useExecutorSubscription.html b/functions/react_executor.useExecutorSubscription.html index 36633f0..b4bff6a 100644 --- a/functions/react_executor.useExecutorSubscription.html +++ b/functions/react_executor.useExecutorSubscription.html @@ -1,4 +1,4 @@ -useExecutorSubscription | React Executor - v0.0.15
  • Re-renders the component when an executor's state is changed.

    +useExecutorSubscription | React Executor - v0.0.16
    • Re-renders the component when an executor's state is changed.

      The executor is activated after mount and deactivated before unmount.

      Parameters

      • executor: Executor<any>

        The executor to subscribe to.

        -

      Returns void

    \ No newline at end of file +

Returns void

\ No newline at end of file diff --git a/functions/react_executor.useExecutorSuspense.html b/functions/react_executor.useExecutorSuspense.html index 1dd9840..0d09df4 100644 --- a/functions/react_executor.useExecutorSuspense.html +++ b/functions/react_executor.useExecutorSuspense.html @@ -1,5 +1,6 @@ -useExecutorSuspense | React Executor - v0.0.15
  • Suspends rendering until all of provided executors are settled.

    +useExecutorSuspense | React Executor - v0.0.16
    • Suspends rendering until all of provided executors are settled.

      Type Parameters

      Parameters

      • executors: T

        Executors to wait for.

        -

      Returns T

      Provided executors.

      -
    \ No newline at end of file +
  • predicate: ((executor) => boolean) = ...

    The predicate which a pending executor must conform to suspend the rendering process. By default, +only non-fulfilled executors are awaited.

    +
      • (executor): boolean
      • Parameters

        Returns boolean

Returns T

\ No newline at end of file diff --git a/hierarchy.html b/hierarchy.html index eec6966..d747f90 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -1 +1 @@ -React Executor - v0.0.15

React Executor - v0.0.15

Class Hierarchy

\ No newline at end of file +React Executor - v0.0.16

React Executor - v0.0.16

Class Hierarchy

\ No newline at end of file diff --git a/index.html b/index.html index a66a6cf..32f5664 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -React Executor - v0.0.15

React Executor - v0.0.15

Index

Modules

react-executor +React Executor - v0.0.16
\ No newline at end of file +
\ No newline at end of file diff --git a/interfaces/plugin_synchronizeStorage.Serializer.html b/interfaces/plugin_synchronizeStorage.Serializer.html index 8f0eded..da46200 100644 --- a/interfaces/plugin_synchronizeStorage.Serializer.html +++ b/interfaces/plugin_synchronizeStorage.Serializer.html @@ -1,4 +1,4 @@ -Serializer | React Executor - v0.0.15

Serializes and deserializes values.

+Serializer | React Executor - v0.0.16

Serializes and deserializes values.

interface Serializer<Value> {
    parse(valueStr): Value;
    stringify(value): string;
}

Type Parameters

  • Value

    The value to serialize.

Methods

parse stringify @@ -6,4 +6,4 @@

Parameters

  • valueStr: string

    The stringified value.

Returns Value

  • Serializes a value as a string.

    Parameters

    • value: Value

      The value to serialize.

      -

    Returns string

\ No newline at end of file +

Returns string

\ No newline at end of file diff --git a/interfaces/plugin_synchronizeStorage.SynchronizeStorageOptions.html b/interfaces/plugin_synchronizeStorage.SynchronizeStorageOptions.html index 9cd1c59..e484bdf 100644 --- a/interfaces/plugin_synchronizeStorage.SynchronizeStorageOptions.html +++ b/interfaces/plugin_synchronizeStorage.SynchronizeStorageOptions.html @@ -1,5 +1,5 @@ -SynchronizeStorageOptions | React Executor - v0.0.15
interface SynchronizeStorageOptions<Value> {
    serializer?: Serializer<ExecutorState<Value>>;
    storageKey?: string | ((executor) => string);
}

Type Parameters

  • Value

Properties

serializer? +SynchronizeStorageOptions | React Executor - v0.0.16
interface SynchronizeStorageOptions<Value> {
    serializer?: Serializer<ExecutorState<Value>>;
    storageKey?: string | ((executor) => string);
}

Type Parameters

  • Value

Properties

The storage record serializer.

storageKey?: string | ((executor) => string)

A storage key, or a callback that returns the storage key.

-

Type declaration

    • (executor): string
    • Parameters

      Returns string

\ No newline at end of file +

Type declaration

    • (executor): string
    • Parameters

      Returns string

\ No newline at end of file diff --git a/interfaces/react_executor.Executor.html b/interfaces/react_executor.Executor.html index 7b13617..7c9250e 100644 --- a/interfaces/react_executor.Executor.html +++ b/interfaces/react_executor.Executor.html @@ -1,4 +1,4 @@ -Executor | React Executor - v0.0.15

Interface Executor<Value>

Manages the async task execution process and provides ways to access execution results, abort or replace a task +Executor | React Executor - v0.0.16

Interface Executor<Value>

Manages the async task execution process and provides ways to access execution results, abort or replace a task execution, and subscribe to an execution state changes.

interface Executor<Value> {
    annotations: ExecutorAnnotations;
    invalidatedAt: number;
    isActive: boolean;
    isFulfilled: boolean;
    isInvalidated: boolean;
    isPending: boolean;
    isRejected: boolean;
    isSettled: boolean;
    key: any;
    manager: ExecutorManager;
    reason: any;
    settledAt: number;
    task: null | ExecutorTask<Value>;
    value: undefined | Value;
    version: number;
    abort(reason?): void;
    activate(): (() => void);
    annotate(patch): void;
    clear(): void;
    execute(task): AbortablePromise<Value>;
    get(): Value;
    getOrAwait(): AbortablePromise<Value>;
    getOrDefault<DefaultValue>(defaultValue): Value | DefaultValue;
    invalidate(invalidatedAt?): void;
    publish<Payload>(eventType, payload?): void;
    reject(reason, settledAt?): void;
    resolve(value, settledAt?): void;
    retry(): void;
    subscribe(listener): (() => void);
    toJSON(): ExecutorState<Value>;
}

Type Parameters

  • Value = any

    The value stored by the executor.

Hierarchy (view full)

Properties

annotations @@ -93,4 +93,4 @@

Returns void

  • Subscribes the listener to changes of the observed value.

    Parameters

    • listener: ((value) => void)

      The listener to subscribe.

    Returns (() => void)

      • (): void
      • Returns void

\ No newline at end of file +

Returns ExecutorState<Value>

\ No newline at end of file diff --git a/interfaces/react_executor.ExecutorAnnotations.html b/interfaces/react_executor.ExecutorAnnotations.html index a9ea023..fed9a35 100644 --- a/interfaces/react_executor.ExecutorAnnotations.html +++ b/interfaces/react_executor.ExecutorAnnotations.html @@ -1,3 +1,3 @@ -ExecutorAnnotations | React Executor - v0.0.15

Annotations that allow to associate arbitrary metadata with the Executor instance.

+ExecutorAnnotations | React Executor - v0.0.16

Annotations that allow to associate arbitrary metadata with the Executor instance.

interface ExecutorAnnotations {
    [key: PropertyKey]: any;
}

Indexable

[key: PropertyKey]: any
\ No newline at end of file +
interface ExecutorAnnotations {
    [key: PropertyKey]: any;
}

Indexable

[key: PropertyKey]: any
\ No newline at end of file diff --git a/interfaces/react_executor.ExecutorEvent.html b/interfaces/react_executor.ExecutorEvent.html index 29b21d8..9d773b5 100644 --- a/interfaces/react_executor.ExecutorEvent.html +++ b/interfaces/react_executor.ExecutorEvent.html @@ -1,4 +1,4 @@ -ExecutorEvent | React Executor - v0.0.15

Interface ExecutorEvent<Value>

The event published by the Executor.

+ExecutorEvent | React Executor - v0.0.16

Interface ExecutorEvent<Value>

The event published by the Executor.

Lifecycle events:

"attached"
@@ -62,4 +62,4 @@
type: "pending" | "activated" | "fulfilled" | "rejected" | string & {} | "attached" | "detached" | "deactivated" | "aborted" | "cleared" | "invalidated" | "annotated" | "plugin_configured"

The type of the event.

See ExecutorEvent for more details.

version: number

The version of the executor for which this event was published.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/interfaces/react_executor.ExecutorManagerOptions.html b/interfaces/react_executor.ExecutorManagerOptions.html index f9844ea..15cfe89 100644 --- a/interfaces/react_executor.ExecutorManagerOptions.html +++ b/interfaces/react_executor.ExecutorManagerOptions.html @@ -1,4 +1,4 @@ -ExecutorManagerOptions | React Executor - v0.0.15

Options provided to the ExecutorManager constructor.

+ExecutorManagerOptions | React Executor - v0.0.16

Options provided to the ExecutorManager constructor.

interface ExecutorManagerOptions {
    devtools?: boolean;
    keySerializer?: ((key) => any);
    plugins?: (undefined | null | ExecutorPlugin)[];
}

Hierarchy (view full)

Properties

devtools? keySerializer? plugins? @@ -12,4 +12,4 @@

Returns any

Default

JSON.stringify
 
plugins?: (undefined | null | ExecutorPlugin)[]

Plugins that are applied to all executors.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/interfaces/react_executor.ExecutorState.html b/interfaces/react_executor.ExecutorState.html index ab6cfb5..6420e8f 100644 --- a/interfaces/react_executor.ExecutorState.html +++ b/interfaces/react_executor.ExecutorState.html @@ -1,4 +1,4 @@ -ExecutorState | React Executor - v0.0.15

Interface ExecutorState<Value>

The minimal serializable state that is required to hydrate the Executor instance.

+ExecutorState | React Executor - v0.0.16

Interface ExecutorState<Value>

The minimal serializable state that is required to hydrate the Executor instance.

interface ExecutorState<Value> {
    annotations: ExecutorAnnotations;
    invalidatedAt: number;
    isFulfilled: boolean;
    key: any;
    reason: any;
    settledAt: number;
    value: undefined | Value;
}

Type Parameters

  • Value = any

    The value stored by the executor.

Hierarchy (view full)

Properties

annotations invalidatedAt @@ -14,4 +14,4 @@
reason: any

The reason of the latest failure.

settledAt: number

The timestamp when the executor was settled, or 0 if it isn't settled.

value: undefined | Value

The value of the latest fulfillment.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/interfaces/react_executor.Observable.html b/interfaces/react_executor.Observable.html index b10cbca..03807a6 100644 --- a/interfaces/react_executor.Observable.html +++ b/interfaces/react_executor.Observable.html @@ -1,6 +1,6 @@ -Observable | React Executor - v0.0.15

The observable that allows to subscribe to a stream of values.

+Observable | React Executor - v0.0.16

The observable that allows to subscribe to a stream of values.

interface Observable<T> {
    subscribe(listener): (() => void);
}

Type Parameters

  • T

    The value pushed by the observable.

Hierarchy (view full)

Implemented by

Methods

Methods

  • Subscribes the listener to changes of the observed value.

    Parameters

    • listener: ((value) => void)

      The listener to subscribe.

      -
        • (value): void
        • Parameters

          • value: T

          Returns void

    Returns (() => void)

      • (): void
      • Returns void

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

      • value: T

      Returns void

Returns (() => void)

\ No newline at end of file diff --git a/interfaces/react_executor.SSRHydrationOptions.html b/interfaces/react_executor.SSRHydrationOptions.html index 7c0fbd3..33693db 100644 --- a/interfaces/react_executor.SSRHydrationOptions.html +++ b/interfaces/react_executor.SSRHydrationOptions.html @@ -1,5 +1,5 @@ -SSRHydrationOptions | React Executor - v0.0.15

Options provided to enableSSRHydration.

+SSRHydrationOptions | React Executor - v0.0.16

Options provided to enableSSRHydration.

interface SSRHydrationOptions {
    stateParser?: ((stateStr) => ExecutorState<any>);
}

Properties

Properties

stateParser?: ((stateStr) => ExecutorState<any>)

Parses the executor state that was captured during SSR.

Type declaration

\ No newline at end of file +

Returns ExecutorState<any>

\ No newline at end of file diff --git a/interfaces/ssr.SSRExecutorManagerOptions.html b/interfaces/ssr.SSRExecutorManagerOptions.html index 65e6480..f9bef3c 100644 --- a/interfaces/ssr.SSRExecutorManagerOptions.html +++ b/interfaces/ssr.SSRExecutorManagerOptions.html @@ -1,4 +1,4 @@ -SSRExecutorManagerOptions | React Executor - v0.0.15

Interface SSRExecutorManagerOptions

Options provided to the SSRExecutorManager constructor.

+SSRExecutorManagerOptions | React Executor - v0.0.16

Interface SSRExecutorManagerOptions

Options provided to the SSRExecutorManager constructor.

interface SSRExecutorManagerOptions {
    devtools?: boolean;
    executorFilter?: ((executor) => boolean);
    keySerializer?: ((key) => any);
    nonce?: string;
    plugins?: (undefined | null | ExecutorPlugin)[];
    stateStringifier?: ((state) => string);
}

Hierarchy (view full)

Properties

Type declaration

    • (state): string
    • Parameters

      Returns string

Default

JSON.stringify
 
-
\ No newline at end of file +
\ No newline at end of file diff --git a/modules/core.html b/modules/core.html index 7ed004b..455bab6 100644 --- a/modules/core.html +++ b/modules/core.html @@ -1,4 +1,4 @@ -core | React Executor - v0.0.15

The core React Executor functionality that doesn't depend on React.

+core | React Executor - v0.0.16

The core React Executor functionality that doesn't depend on React.

import { ExecutorManager } from 'react-executor/core';
 

References

Re-exports Executor
Re-exports ExecutorAnnotations
Re-exports ExecutorEvent
Re-exports ExecutorManager
Re-exports ExecutorManagerOptions
Re-exports ExecutorPlugin
Re-exports ExecutorState
Re-exports ExecutorTask
Re-exports Observable
Re-exports SSRHydrationOptions
Re-exports enableSSRHydration
\ No newline at end of file +

References

Re-exports Executor
Re-exports ExecutorAnnotations
Re-exports ExecutorEvent
Re-exports ExecutorManager
Re-exports ExecutorManagerOptions
Re-exports ExecutorPlugin
Re-exports ExecutorState
Re-exports ExecutorTask
Re-exports Observable
Re-exports SSRHydrationOptions
Re-exports enableSSRHydration
\ No newline at end of file diff --git a/modules/observable_windowFocused.html b/modules/observable_windowFocused.html index 9fa8038..d999d2c 100644 --- a/modules/observable_windowFocused.html +++ b/modules/observable_windowFocused.html @@ -1,6 +1,6 @@ -observable/windowFocused | React Executor - v0.0.15

Module observable/windowFocused

Observable of the +observable/windowFocused | React Executor - v0.0.16

Module observable/windowFocused

Observable of the document.visibilityState.

import retryWhen from 'react-executor/plugin/retryWhen';
import windowFocused from 'react-executor/observable/windowFocused';

const executor = useExecutor('test', heavyTask, [
retryWhen(windowFocused)
]);

Index

Variables

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/observable_windowOnline.html b/modules/observable_windowOnline.html index 4423caf..a1a116a 100644 --- a/modules/observable_windowOnline.html +++ b/modules/observable_windowOnline.html @@ -1,6 +1,6 @@ -observable/windowOnline | React Executor - v0.0.15

Module observable/windowOnline

Observable of the +observable/windowOnline | React Executor - v0.0.16

Module observable/windowOnline

Observable of the navigator.onLine.

import retryWhen from 'react-executor/plugin/retryWhen';
import windowOnline from 'react-executor/observable/windowOnline';

const executor = useExecutor('test', heavyTask, [
retryWhen(windowOnline)
]);

Index

Variables

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_abortDeactivated.html b/modules/plugin_abortDeactivated.html index 6f1360b..927c94a 100644 --- a/modules/plugin_abortDeactivated.html +++ b/modules/plugin_abortDeactivated.html @@ -1,5 +1,5 @@ -plugin/abortDeactivated | React Executor - v0.0.15

Module plugin/abortDeactivated

The plugin that aborts the pending task after the timeout if the executor is deactivated.

+plugin/abortDeactivated | React Executor - v0.0.16

Module plugin/abortDeactivated

The plugin that aborts the pending task after the timeout if the executor is deactivated.

import abortDeactivated from 'react-executor/plugin/abortDeactivated';

const executor = useExecutor('test', heavyTask, [abortDeactivated()]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_abortPending.html b/modules/plugin_abortPending.html index bbd00ae..382a7ff 100644 --- a/modules/plugin_abortPending.html +++ b/modules/plugin_abortPending.html @@ -1,6 +1,6 @@ -plugin/abortPending | React Executor - v0.0.15

Module plugin/abortPending

The plugin that aborts the pending task with TimeoutError if the task execution took longer +plugin/abortPending | React Executor - v0.0.16

Module plugin/abortPending

The plugin that aborts the pending task with TimeoutError if the task execution took longer then the given timeout.

import abortPending from 'react-executor/plugin/abortPending';

const executor = useExecutor('test', heavyTask, [
abortPending(10_000)
]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_abortWhen.html b/modules/plugin_abortWhen.html index 6adbe68..92a43c4 100644 --- a/modules/plugin_abortWhen.html +++ b/modules/plugin_abortWhen.html @@ -1,5 +1,5 @@ -plugin/abortWhen | React Executor - v0.0.15

Module plugin/abortWhen

The plugin that aborts the pending task if the observable pushes false.

+plugin/abortWhen | React Executor - v0.0.16

Module plugin/abortWhen

The plugin that aborts the pending task if the observable pushes false.

import abortWhen from 'react-executor/plugin/abortWhen';
import windowFocused from 'react-executor/observable/windowFocused';

const executor = useExecutor('test', heavyTask, [
abortWhen(windowFocused)
]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_bindAll.html b/modules/plugin_bindAll.html index e3aa374..85602e6 100644 --- a/modules/plugin_bindAll.html +++ b/modules/plugin_bindAll.html @@ -1,5 +1,5 @@ -plugin/bindAll | React Executor - v0.0.15

Module plugin/bindAll

The plugin that binds all executor methods to the instance.

+plugin/bindAll | React Executor - v0.0.16

Module plugin/bindAll

The plugin that binds all executor methods to the instance.

import bindAll from 'react-executor/plugin/bindAll';

const executor = useExecutor('test', 42, [bindAll()]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_detachDeactivated.html b/modules/plugin_detachDeactivated.html index f8526cd..a3a5458 100644 --- a/modules/plugin_detachDeactivated.html +++ b/modules/plugin_detachDeactivated.html @@ -1,5 +1,5 @@ -plugin/detachDeactivated | React Executor - v0.0.15

Module plugin/detachDeactivated

The plugin that detaches a deactivated executor after the timeout.

+plugin/detachDeactivated | React Executor - v0.0.16

Module plugin/detachDeactivated

The plugin that detaches a deactivated executor after the timeout.

import detachDeactivated from 'react-executor/plugin/detachDeactivated';

const executor = useExecutor('test', 42, [detachDeactivated()]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_invalidateAfter.html b/modules/plugin_invalidateAfter.html index 9c83c43..9cdd893 100644 --- a/modules/plugin_invalidateAfter.html +++ b/modules/plugin_invalidateAfter.html @@ -1,5 +1,5 @@ -plugin/invalidateAfter | React Executor - v0.0.15

Module plugin/invalidateAfter

The plugin that invalidates the settled executor result after the timeout.

+plugin/invalidateAfter | React Executor - v0.0.16

Module plugin/invalidateAfter

The plugin that invalidates the settled executor result after the timeout.

import invalidateAfter from 'react-executor/plugin/invalidateAfter';

const executor = useExecutor('test', 42, [invalidateAfter(5_000)]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_invalidateByPeers.html b/modules/plugin_invalidateByPeers.html index d66f040..6ed6ba7 100644 --- a/modules/plugin_invalidateByPeers.html +++ b/modules/plugin_invalidateByPeers.html @@ -1,5 +1,5 @@ -plugin/invalidateByPeers | React Executor - v0.0.15

Module plugin/invalidateByPeers

The plugin that invalidates the executor result if another executor with a matching key is fulfilled or invalidated.

+plugin/invalidateByPeers | React Executor - v0.0.16

Module plugin/invalidateByPeers

The plugin that invalidates the executor result if another executor with a matching key is fulfilled or invalidated.

import invalidateByPeers from 'react-executor/plugin/invalidateByPeers';

const executor = useExecutor('test', 42, [
invalidateByPeers(executor => executor.key === 'exact_executor_key')
]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_invalidatePeers.html b/modules/plugin_invalidatePeers.html index 640720d..7f214ca 100644 --- a/modules/plugin_invalidatePeers.html +++ b/modules/plugin_invalidatePeers.html @@ -1,5 +1,5 @@ -plugin/invalidatePeers | React Executor - v0.0.15

Module plugin/invalidatePeers

The plugin that invalidates peer executors with matching keys if the executor is fulfilled or invalidated.

+plugin/invalidatePeers | React Executor - v0.0.16

Module plugin/invalidatePeers

The plugin that invalidates peer executors with matching keys if the executor is fulfilled or invalidated.

import invalidatePeers from 'react-executor/plugin/invalidatePeers';

const executor = useExecutor('test', 42, [
invalidatePeers(executor => executor.key === 'exact_executor_key')
]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_rejectPending.html b/modules/plugin_rejectPending.html index 7ded950..7a49902 100644 --- a/modules/plugin_rejectPending.html +++ b/modules/plugin_rejectPending.html @@ -1,6 +1,6 @@ -plugin/rejectPending | React Executor - v0.0.15

Module plugin/rejectPending

The plugin that aborts the pending task and rejects the executor with TimeoutError if the task +plugin/rejectPending | React Executor - v0.0.16

Module plugin/rejectPending

The plugin that aborts the pending task and rejects the executor with TimeoutError if the task execution took longer then the given timeout.

import rejectPending from 'react-executor/plugin/rejectPending';

const executor = useExecutor('test', heavyTask, [
rejectPending(10_000)
]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_resolveWhen.html b/modules/plugin_resolveWhen.html index cd68909..d74bb6e 100644 --- a/modules/plugin_resolveWhen.html +++ b/modules/plugin_resolveWhen.html @@ -1,5 +1,5 @@ -plugin/resolveWhen | React Executor - v0.0.15

Module plugin/resolveWhen

The plugin that resolves the executor with values pushed by an observable.

+plugin/resolveWhen | React Executor - v0.0.16

Module plugin/resolveWhen

The plugin that resolves the executor with values pushed by an observable.

import resolveWhen from 'react-executor/plugin/resolveWhen';

const executor = useExecutor('test', heavyTask, [
resolveWhen(observable)
]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_retryFulfilled.html b/modules/plugin_retryFulfilled.html index 1363399..ea9e878 100644 --- a/modules/plugin_retryFulfilled.html +++ b/modules/plugin_retryFulfilled.html @@ -1,5 +1,5 @@ -plugin/retryFulfilled | React Executor - v0.0.15

Module plugin/retryFulfilled

The plugin that repeats the last task after the execution was fulfilled.

+plugin/retryFulfilled | React Executor - v0.0.16

Module plugin/retryFulfilled

The plugin that repeats the last task after the execution was fulfilled.

import retryFulfilled from 'react-executor/plugin/retryFulfilled';

const executor = useExecutor('test', heavyTask, [retryFulfilled()]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_retryInvalidated.html b/modules/plugin_retryInvalidated.html index 939c899..c22944c 100644 --- a/modules/plugin_retryInvalidated.html +++ b/modules/plugin_retryInvalidated.html @@ -1,5 +1,5 @@ -plugin/retryInvalidated | React Executor - v0.0.15

Module plugin/retryInvalidated

The plugin that retries the latest task of the active executor if it was invalidated.

+plugin/retryInvalidated | React Executor - v0.0.16

Module plugin/retryInvalidated

The plugin that retries the latest task of the active executor if it was invalidated.

import retryInvalidated from 'react-executor/plugin/retryInvalidated';

const executor = useExecutor('test', heavyTask, [retryInvalidated()]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_retryRejected.html b/modules/plugin_retryRejected.html index 0343e44..433953b 100644 --- a/modules/plugin_retryRejected.html +++ b/modules/plugin_retryRejected.html @@ -1,5 +1,5 @@ -plugin/retryRejected | React Executor - v0.0.15

Module plugin/retryRejected

The plugin that retries the last task after the execution has failed.

+plugin/retryRejected | React Executor - v0.0.16

Module plugin/retryRejected

The plugin that retries the last task after the execution has failed.

import retryRejected from 'react-executor/plugin/retryRejected';

const executor = useExecutor('test', heavyTask, [retryRejected()]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_retryWhen.html b/modules/plugin_retryWhen.html index a26053f..b39f33a 100644 --- a/modules/plugin_retryWhen.html +++ b/modules/plugin_retryWhen.html @@ -1,5 +1,5 @@ -plugin/retryWhen | React Executor - v0.0.15

Module plugin/retryWhen

The plugin that retries the latest task if the observable pushes false and then true.

+plugin/retryWhen | React Executor - v0.0.16

Module plugin/retryWhen

The plugin that retries the latest task if the observable pushes false and then true.

import retryWhen from 'react-executor/plugin/retryWhen';
import windowFocused from 'react-executor/observable/windowFocused';

const executor = useExecutor('test', heavyTask, [
retryWhen(windowFocused)
]);

Index

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/plugin_synchronizeStorage.html b/modules/plugin_synchronizeStorage.html index c7a2a8d..b97ff0e 100644 --- a/modules/plugin_synchronizeStorage.html +++ b/modules/plugin_synchronizeStorage.html @@ -1,7 +1,7 @@ -plugin/synchronizeStorage | React Executor - v0.0.15

Module plugin/synchronizeStorage

The plugin that persists the executor value in the synchronous storage.

+plugin/synchronizeStorage | React Executor - v0.0.16

Module plugin/synchronizeStorage

The plugin that persists the executor value in the synchronous storage.

import synchronizeStorage from 'react-executor/plugin/synchronizeStorage';

const executor = useExecutor('test', 42, [
synchronizeStorage(localStorage)
]);

Index

Interfaces

Functions

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/react_executor.html b/modules/react_executor.html index 3768bdd..6477146 100644 --- a/modules/react_executor.html +++ b/modules/react_executor.html @@ -1,4 +1,4 @@ -react-executor | React Executor - v0.0.15

Module react-executor

The React Executor core and React integration hooks.

+react-executor | React Executor - v0.0.16

Module react-executor

The React Executor core and React integration hooks.

import { useExecutor } from 'react-executor';
 

Index

Classes

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/ssr.html b/modules/ssr.html index fec0fe2..f9fea9f 100644 --- a/modules/ssr.html +++ b/modules/ssr.html @@ -1,7 +1,7 @@ -ssr | React Executor - v0.0.15

Tooling for SSR implementation that supports executor hydration on the client.

+ssr | React Executor - v0.0.16

Tooling for SSR implementation that supports executor hydration on the client.

import { SSRExecutorManager } from 'react-executor/ssr';
 

Index

Classes

Interfaces

\ No newline at end of file +
\ No newline at end of file diff --git a/modules/ssr_node.html b/modules/ssr_node.html index 456aae6..583b7a6 100644 --- a/modules/ssr_node.html +++ b/modules/ssr_node.html @@ -1,5 +1,5 @@ -ssr/node | React Executor - v0.0.15

Module ssr/node

NodeJS-specific tooling for SSR implementation that supports executor hydration on the client.

+ssr/node | React Executor - v0.0.16

Module ssr/node

NodeJS-specific tooling for SSR implementation that supports executor hydration on the client.

import { PipeableSSRExecutorManager } from 'react-executor/ssr/node';
 

Index

Classes

\ No newline at end of file +
\ No newline at end of file diff --git a/types/react_executor.ExecutorPlugin.html b/types/react_executor.ExecutorPlugin.html index 2bcbac7..396b86f 100644 --- a/types/react_executor.ExecutorPlugin.html +++ b/types/react_executor.ExecutorPlugin.html @@ -1,4 +1,4 @@ -ExecutorPlugin | React Executor - v0.0.15

Type alias ExecutorPlugin<Value>

ExecutorPlugin<Value>: ((executor) => void)

The plugin callback that is invoked when the executor is created by the ExecutorManager.

+ExecutorPlugin | React Executor - v0.0.16

Type alias ExecutorPlugin<Value>

ExecutorPlugin<Value>: ((executor) => void)

The plugin callback that is invoked when the executor is created by the ExecutorManager.

Type Parameters

  • Value = any

    The value stored by the executor.

Type declaration

    • (executor): void
    • Parameters

      Returns void

\ No newline at end of file +

Returns void

\ No newline at end of file diff --git a/types/react_executor.ExecutorTask.html b/types/react_executor.ExecutorTask.html index f651a45..d8822e9 100644 --- a/types/react_executor.ExecutorTask.html +++ b/types/react_executor.ExecutorTask.html @@ -1,6 +1,6 @@ -ExecutorTask | React Executor - v0.0.15

Type alias ExecutorTask<Value>

ExecutorTask<Value>: ((signal, executor) => PromiseLike<Value> | Value)

The task that can be executed by an Executor.

+ExecutorTask | React Executor - v0.0.16

Type alias ExecutorTask<Value>

ExecutorTask<Value>: ((signal, executor) => PromiseLike<Value> | Value)

The task that can be executed by an Executor.

Type Parameters

  • Value = any

    The value stored by the executor.

Type declaration

    • (signal, executor): PromiseLike<Value> | Value
    • Parameters

      • signal: AbortSignal

        The AbortSignal that is aborted if task was discarded.

      • executor: Executor<Value>

        The executor that executes the task.

      Returns PromiseLike<Value> | Value

Returns

The value that the executor must be fulfilled with.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/variables/observable_windowFocused.default.html b/variables/observable_windowFocused.default.html index a0db997..5b2dc04 100644 --- a/variables/observable_windowFocused.default.html +++ b/variables/observable_windowFocused.default.html @@ -1,3 +1,3 @@ -default | React Executor - v0.0.15
default: Observable<boolean> = ...

Observable of the +default | React Executor - v0.0.16

default: Observable<boolean> = ...

Observable of the document.visibilityState.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/variables/observable_windowOnline.default.html b/variables/observable_windowOnline.default.html index 974b3ca..a5177d6 100644 --- a/variables/observable_windowOnline.default.html +++ b/variables/observable_windowOnline.default.html @@ -1,3 +1,3 @@ -default | React Executor - v0.0.15
default: Observable<boolean> = ...

Observable of the +default | React Executor - v0.0.16

default: Observable<boolean> = ...

Observable of the navigator.onLine.

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