diff --git a/.changeset/funny-eels-peel.md b/.changeset/funny-eels-peel.md new file mode 100644 index 0000000..4f49291 --- /dev/null +++ b/.changeset/funny-eels-peel.md @@ -0,0 +1,5 @@ +--- +"@lilbunnyrabbit/task-manager": patch +--- + +docs: GitHub Sponsor button diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..a68e324 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +github: lilBunnyRabbit +buy_me_a_coffee: lilBunnyRabbit +custom: ["https://www.paypal.me/ThelilBunnyRabbit"] diff --git a/README.md b/README.md index f5e4e9d..72a2909 100644 --- a/README.md +++ b/README.md @@ -189,10 +189,9 @@ Contributions are always welcome! For any enhancements or bug fixes, please open ## 💖 Support -Your support is greatly appreciated! If this package has been helpful, consider supporting by buying me a coffee. - -[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/lilBunnyRabbit) +Your support is greatly appreciated! If this package has been helpful, consider supporting its development. Your contributions help maintain and improve this project. +[![GitHub Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/lilBunnyRabbit) ## 📜 License diff --git a/web/public/docs/api/v1.0.0/assets/hierarchy.js b/web/public/docs/api/v1.0.0/assets/hierarchy.js index 4f5b439..cd4e910 100644 --- a/web/public/docs/api/v1.0.0/assets/hierarchy.js +++ b/web/public/docs/api/v1.0.0/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJyV0k9vwiAYBvDv8pxxs3/AytFkWUw8ejMeSIuTiGCAHhbT777QuaYuXcouHODh/ZH35Q5nbfDgB0ZKRsqMHQmcPGlZB2WNB7+DxcWIqwTHplW6kW7rQXBRpgHPKSNonQaHMkG6k6ilfx1yL+dw1SCotfAeHME3i3hxMYTj4VnpxkkDfshXBSkreuwIyjG8sx9vJrjPrbm1YQZ/yv73AXQZbbqcsBPZBLEjyFfFiNgLf3n0bEYZJdOgIlv/gt6dbW8Dk+XVD9MXehh96E/heyMOKWNT1TfCyyQhBmeUp/EU2br/GxWdZJNbOI6n9LHrvgCqDAsp" \ No newline at end of file +window.hierarchyData = "eJyVkkFrwyAYhv/Le7YbJtGmHgtjFHbcrfQgiV1DrRY1h1Hy34euDdnIiLt40Mfv4X31Bmdt8BB7ThglFeUHAqeOWjWhs8ZD3MDjYuRFQWDbd7pVbudBcO5MC1EwTtA7DYHOBOWOslH+eeSeTuGiQdBo6T0Egm9X8eJqhOPhqdOtUwZiX6xLUtXsMBBUbCJ+sx8vJrjPBe8Dy9AOBIzOGHbm2odMTWL/G7FK6Yp1OZG/S3++d7agnpB5IUu6+SV6dba/jhpa1A9NGnR3JOhPw/dGfCTK56ZvpVdZhgguWH6UV9JN+hs1m9VmVzjFc3ochi9lJgsp" \ No newline at end of file diff --git a/web/public/docs/api/v1.0.0/assets/search.js b/web/public/docs/api/v1.0.0/assets/search.js index 7f7c67e..acb76f1 100644 --- a/web/public/docs/api/v1.0.0/assets/search.js +++ b/web/public/docs/api/v1.0.0/assets/search.js @@ -1 +1 @@ -window.searchData = "eJy1XV2P27bS/isH7q2beqjv3LV9cw4KpOlHct6bRRAoXu3GqNfeWtq0RdD/fkBKsmaGQ2rkda+arsgZinxmOHweSf6yOh3/aFcvb76sftsdblcvE7NeHeqHZvVy9erPZvvU7Y6HH4+3zWq9ejrtVy9Xn+vTrv64b9pvyPWv4cWn7mG/Wq+2+7ptm3b1crX6ez2ahY1Jz4Z//vbXb1+/fvVaafOrDx+6vx6bx/pU7/cNc7FePdan5tDx8b7oO4WG8PbVL/999ebdD98uHETb/P7UHLpdffEwzKYqIJubZeeLDiQ6vybLzxa/e9rtb5vTD+3Z2u7QNae7etu035wvxs1t0vJsb6cw9JVrJE/INJ65WbDT/65ufxOnYbwYx5mZxv36eH/fnM62hvbf9H+OWslgGtn2eGi709O2O0ZNfUXbyTMxjCiAyf3xvo26GBoobZM13B/v50xfaPm2+f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KuXd+///vt/zRcueA=="; \ No newline at end of file diff --git a/web/public/docs/api/v1.0.0/classes/FlowController.html b/web/public/docs/api/v1.0.0/classes/FlowController.html index 7ffa00e..fcec07b 100644 --- a/web/public/docs/api/v1.0.0/classes/FlowController.html +++ b/web/public/docs/api/v1.0.0/classes/FlowController.html @@ -1,6 +1,6 @@ FlowController | @lilbunnyrabbit/task-manager@1.0.0

Manages task execution flow by organizing tasks into states (pending, active, and completed).

These states are part of the FlowController structure and do not belong to the tasks themselves.

-

Hierarchy

Constructors

Hierarchy

Constructors

Properties

Constructors

Properties

active: Map<string, ExecutableTask> = ...

Tasks currently in progress.

-
completed: Map<string, { task: ExecutableTask; valid: boolean }> = ...

Tasks that have completed execution.

-
pending: Map<string, ExecutableTask> = ...

Tasks ready to start but not yet executed.

-

Accessors

Methods

completed: Map<string, { task: ExecutableTask; valid: boolean }> = ...

Tasks that have completed execution.

+
pending: Map<string, ExecutableTask> = ...

Tasks ready to start but not yet executed.

+

Accessors

Methods

  • Adds multiple tasks to the pending collection.

    +
  • Calculates the progress of tasks.

    +
+
diff --git a/web/public/docs/api/v1.0.0/classes/Logger.html b/web/public/docs/api/v1.0.0/classes/Logger.html index 2caaa49..2650e77 100644 --- a/web/public/docs/api/v1.0.0/classes/Logger.html +++ b/web/public/docs/api/v1.0.0/classes/Logger.html @@ -1,5 +1,5 @@ Logger | @lilbunnyrabbit/task-manager@1.0.0

Utility for managing and emitting log entries.

-

Constructors

Constructors

Properties

Methods

clear debug @@ -9,32 +9,32 @@ warn

Constructors

Properties

logs: LogEntry[] = []

Logged entries.

-

Methods

  • Clears all logged entries.

    +

Returns Logger

Properties

logs: LogEntry[] = []

Logged entries.

+

Methods

+
diff --git a/web/public/docs/api/v1.0.0/classes/Task.html b/web/public/docs/api/v1.0.0/classes/Task.html index 14a6c69..d8c59ba 100644 --- a/web/public/docs/api/v1.0.0/classes/Task.html +++ b/web/public/docs/api/v1.0.0/classes/Task.html @@ -1,6 +1,6 @@ Task | @lilbunnyrabbit/task-manager@1.0.0

Single task within the task management system.

Type Parameters

Hierarchy

Constructors

Hierarchy

Constructors

Properties

_progress _result _status @@ -34,54 +34,54 @@
  • name: string

    Name of the task.

  • _config: Omit<TaskConfig<TSpec>, "name">

    Configuration for the task.

  • data: TSpec["TData"]

    Input data for the task.

    -
  • Returns Task<TSpec>

    Properties

    _progress: number = 0

    Progress of the task (range 0 to 1).

    +

    Returns Task<TSpec>

    Properties

    _progress: number = 0

    Progress of the task (range 0 to 1).

    0
     
    -
    _result: Optional<TSpec["TResult"]> = ...

    Task result, wrapped in an Optional object.

    -
    _status: TaskStatus = "idle"

    Current status of the task.

    +
    _result: Optional<TSpec["TResult"]> = ...

    Task result, wrapped in an Optional object.

    +
    _status: TaskStatus = "idle"

    Current status of the task.

    "idle"
     
    -
    builder: TaskBuilder<TSpec>

    Builder used to create the task.

    -
    data: TSpec["TData"]

    Input data for the task.

    -
    id: string

    Unique identifier for the task.

    -
    logger: Logger = ...

    Logger for task-related events.

    -
    name: string

    Name of the task.

    -

    Accessors

    builder: TaskBuilder<TSpec>

    Builder used to create the task.

    +
    data: TSpec["TData"]

    Input data for the task.

    +
    id: string

    Unique identifier for the task.

    +
    logger: Logger = ...

    Logger for task-related events.

    +
    name: string

    Name of the task.

    +

    Accessors

    • get progress(): number
    • Progress of the task (range 0 to 1).

      Returns number

      0
       
      -
    • set progress(progress: number): void
    • Updates the task progress.

      +
    • set progress(progress: number): void
    • Updates the task progress.

      Parameters

      • progress: number

        New progress value (0 to 1).

      Returns void

      progress - When progress changes.

      param - When the progress parameter changes.

      -
    • get result(): Optional<TSpec["TResult"]>
    • Task result, wrapped in an Optional object.

      -

      Returns Optional<TSpec["TResult"]>

    • set result(result: Optional<TSpec["TResult"]>): void
    • Sets the task result.

      +
    • get result(): Optional<TSpec["TResult"]>
    • Task result, wrapped in an Optional object.

      +

      Returns Optional<TSpec["TResult"]>

    • set result(result: Optional<TSpec["TResult"]>): void
    • Sets the task result.

      Parameters

      • result: Optional<TSpec["TResult"]>

        Result to set.

      Returns void

      param - When the result parameter changes.

      -

    Methods

    Methods

    • Removes all listeners for all event types, as well as all global listeners.

      +
    • Removes all listeners for all event types, as well as all global listeners.

      Returns this

      The EventEmitter instance itself, allowing for method chaining.

      emitter.clear(); // No more event listeners remain
       
    • Emits an event of a specific type, invoking all registered listeners for that event type with the provided data. Also calls any global event listeners with a GlobalEvent object.

      Type Parameters

      Parameters

      • type: TType

        The identifier for the event type to emit.

        @@ -93,10 +93,10 @@
    • Executes the task.

      Returns Promise<Optional<TSpec["TResult"]>>

      Result wrapped in Optional.

      If the task is not in "idle" state or if execution fails.

      -
    • Checks if the task status matches any of the provided statuses.

      Parameters

      • ...statuses: TaskStatus[]

        List of statuses to check.

      Returns boolean

      true if the current status matches one of the provided statuses.

      -
    • Removes a previously registered event listener for a specified event type. Use this method to unregister listeners when they are no longer needed, preventing potential memory leaks.

      Type Parameters

      Parameters

      • type: TType

        The identifier for the event type from which to remove the listener.

        @@ -129,20 +129,20 @@
    • Sets the task progress.

      Parameters

      • progress: number

        Progress value to set.

      Returns Task<TSpec>

      Instance of the task for chaining.

      progress - When progress changes.

      param - When the progress parameter changes.

      -
    • Sets the task result and updates the status to success.

      +
    • Sets the task result and updates the status to success.

      Parameters

      • result: Optional<TSpec["TResult"]>

        Result to set.

      Returns this

      Instance of the task for chaining.

      param - When the result parameter changes.

      -
    • Sets the task status.

      Parameters

      Returns this

      Instance of the task for chaining.

      param - Emits when the status parameter changes.

      -
    • Converts the task to a string representation.

      +
    • Converts the task to a string representation.

      Parameters

      • Optionalpretty: boolean

        If true, formats the string for readability.

      Returns string

      String representation of the task.

      -
    +
    diff --git a/web/public/docs/api/v1.0.0/classes/TaskError.html b/web/public/docs/api/v1.0.0/classes/TaskError.html index cfc3327..742567d 100644 --- a/web/public/docs/api/v1.0.0/classes/TaskError.html +++ b/web/public/docs/api/v1.0.0/classes/TaskError.html @@ -1,5 +1,5 @@ TaskError | @lilbunnyrabbit/task-manager@1.0.0

    Error linked to a specific ExecutableTask.

    -

    Hierarchy

    • Error
      • TaskError

    Constructors

    Hierarchy

    • Error
      • TaskError

    Constructors

    Properties

    error message name @@ -11,9 +11,9 @@

    Constructors

    Properties

    error: any

    Original error object or message.

    -
    message: string
    name: string
    stack?: string

    Task instance that caused the error.

    -
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    +

    Returns TaskError

    Properties

    error: any

    Original error object or message.

    +
    message: string
    name: string
    stack?: string

    Task instance that caused the error.

    +
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/web/public/docs/api/v1.0.0/classes/TaskGroup.html b/web/public/docs/api/v1.0.0/classes/TaskGroup.html index 7bae0d8..1f036f8 100644 --- a/web/public/docs/api/v1.0.0/classes/TaskGroup.html +++ b/web/public/docs/api/v1.0.0/classes/TaskGroup.html @@ -1,6 +1,6 @@ TaskGroup | @lilbunnyrabbit/task-manager@1.0.0

    Represents a group of tasks that can be executed in different modes.

    Type Parameters

    • TArgs extends unknown[] = unknown[]

      Arguments used to create the task group.

      -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    _flags _progress _status @@ -39,63 +39,63 @@
  • name: string

    Name of the task group.

  • mode: ExecutionMode = ExecutionMode.SEQUENTIAL

    Execution mode (sequential or parallel).

  • tasks: ExecutableTask[]

    List of tasks to be executed.

    -
  • Returns TaskGroup<TArgs>

    Properties

    _flags: Set<"CONTINUE_ON_ERROR"> = ...

    Current flags for the task group.

    +

    Returns TaskGroup<TArgs>

    Properties

    _flags: Set<"CONTINUE_ON_ERROR"> = ...

    Current flags for the task group.

    Empty set of flags.
     
    -
    _progress: number = 0

    Progress of the task group, represented as a value between 0 and 1.

    +
    _progress: number = 0

    Progress of the task group, represented as a value between 0 and 1.

    0
     
    -
    _status: TaskGroupStatus = "idle"

    Current status of the task group.

    +
    _status: TaskGroupStatus = "idle"

    Current status of the task group.

    "idle"
     
    -
    args: TArgs

    Arguments for the task group.

    -
    builder: TaskGroupBuilder<TArgs>

    Builder for creating the task group.

    -
    flowController: FlowController = ...

    Manages task execution and flow control.

    -
    id: string

    Unique identifier for the task group.

    -
    mode: ExecutionMode = ExecutionMode.SEQUENTIAL

    Execution mode (sequential or parallel).

    -
    name: string

    Name of the task group.

    -
    query: TaskQuery = ...

    Query interface for accessing tasks.

    -

    Accessors

    args: TArgs

    Arguments for the task group.

    +

    Builder for creating the task group.

    +
    flowController: FlowController = ...

    Manages task execution and flow control.

    +
    id: string

    Unique identifier for the task group.

    +
    mode: ExecutionMode = ExecutionMode.SEQUENTIAL

    Execution mode (sequential or parallel).

    +
    name: string

    Name of the task group.

    +
    query: TaskQuery = ...

    Query interface for accessing tasks.

    +

    Accessors

    • get flags(): "CONTINUE_ON_ERROR"[]
    • Current flags for the task group.

      Returns "CONTINUE_ON_ERROR"[]

      Empty array of flags.
       
      -
    • set flags(flags: Set<"CONTINUE_ON_ERROR">): void
    • Updates the flags for the task group.

      +
    • set flags(flags: Set<"CONTINUE_ON_ERROR">): void
    • Updates the flags for the task group.

      Parameters

      • flags: Set<"CONTINUE_ON_ERROR">

        New set of flags to apply.

      Returns void

      param - When the flags parameter changes.

      -
    • get progress(): number
    • Progress of the task group, represented as a value between 0 and 1.

      Returns number

      0
       
      -
    • set progress(progress: number): void
    • Updates the progress of the task group.

      +
    • set progress(progress: number): void
    • Updates the progress of the task group.

      Parameters

      • progress: number

        New progress value (0 to 1).

      Returns void

      progress - When progress changes.

      param - When the progress parameter changes.

      -

    Methods

    Methods

    • Removes all listeners for all event types, as well as all global listeners.

      Returns this

      The EventEmitter instance itself, allowing for method chaining.

      emitter.clear(); // No more event listeners remain
       
    • Emits an event of a specific type, invoking all registered listeners for that event type with the provided data. Also calls any global event listeners with a GlobalEvent object.

      Type Parameters

      Parameters

      • type: TType

        The identifier for the event type to emit.

        @@ -107,16 +107,16 @@
    • Removes a previously registered event listener for a specified event type. Use this method to unregister listeners when they are no longer needed, preventing potential memory leaks.

      Type Parameters

      Parameters

    • Converts the task group to a string representation.

      Parameters

      • Optionalpretty: boolean

        If true, formats the string for readability.

      Returns string

      String representation of the task group.

      -
    +
    diff --git a/web/public/docs/api/v1.0.0/classes/TaskGroupBase.html b/web/public/docs/api/v1.0.0/classes/TaskGroupBase.html index b0b6d2f..23e1fc4 100644 --- a/web/public/docs/api/v1.0.0/classes/TaskGroupBase.html +++ b/web/public/docs/api/v1.0.0/classes/TaskGroupBase.html @@ -1,6 +1,6 @@ TaskGroupBase | @lilbunnyrabbit/task-manager@1.0.0

    Base class for managing task statuses, progress, flags, and event-driven operations.

    Provides foundational methods for task lifecycle management and event handling, used by task group implementations.

    -

    Hierarchy (View Summary)

    Constructors

    Hierarchy (View Summary)

    Constructors

    Properties

    _flags _progress _status @@ -25,41 +25,41 @@
    Empty set of flags.
     
    -
    _progress: number = 0

    Progress of the task group, represented as a value between 0 and 1.

    +
    _progress: number = 0

    Progress of the task group, represented as a value between 0 and 1.

    0
     
    -
    _status: TaskGroupStatus = "idle"

    Current status of the task group.

    +
    _status: TaskGroupStatus = "idle"

    Current status of the task group.

    "idle"
     
    -

    Accessors

    • get flags(): "CONTINUE_ON_ERROR"[]
    • Current flags for the task group.

      +

    Accessors

    • get flags(): "CONTINUE_ON_ERROR"[]
    • Current flags for the task group.

      Returns "CONTINUE_ON_ERROR"[]

      Empty array of flags.
       
      -
    • set flags(flags: Set<"CONTINUE_ON_ERROR">): void
    • Updates the flags for the task group.

      +
  • set flags(flags: Set<"CONTINUE_ON_ERROR">): void
  • Updates the flags for the task group.

    Parameters

    Returns void

    param - When the flags parameter changes.

    -
  • Methods

    Methods

    • Adds a flag to the task group.

      Parameters

      • flag: "CONTINUE_ON_ERROR"

        Flag to add.

      Returns this

      Instance of the task group for chaining.

      param - When the flags parameter changes.

      -
    • Removes all listeners for all event types, as well as all global listeners.

      Returns this

      The EventEmitter instance itself, allowing for method chaining.

      emitter.clear(); // No more event listeners remain
       
      @@ -76,13 +76,13 @@
    • Checks if a specific flag is set in the task group.

      Parameters

      • flag: "CONTINUE_ON_ERROR"

        Flag to check.

      Returns boolean

      true if the flag is set.

      -
    • Checks if all specified flags are set in the task group.

      Parameters

      • ...flags: "CONTINUE_ON_ERROR"[]

        Flags to check.

      Returns boolean

      true if all specified flags are set.

      -
    • Removes a previously registered event listener for a specified event type. Use this method to unregister listeners when they are no longer needed, preventing potential memory leaks.

      Type Parameters

      Parameters

      • type: TType

        The identifier for the event type from which to remove the listener.

        @@ -117,17 +117,17 @@

        Parameters

        • flag: "CONTINUE_ON_ERROR"

          Flag to remove.

        Returns this

        Instance of the task group for chaining.

        param - When the flags parameter changes.

        -
    +
    diff --git a/web/public/docs/api/v1.0.0/classes/TaskManager.html b/web/public/docs/api/v1.0.0/classes/TaskManager.html index c10cca3..71f1bba 100644 --- a/web/public/docs/api/v1.0.0/classes/TaskManager.html +++ b/web/public/docs/api/v1.0.0/classes/TaskManager.html @@ -1,6 +1,6 @@ TaskManager | @lilbunnyrabbit/task-manager@1.0.0

    Manages task execution, including queue management, progress control, and event handling.

    Supports sequential and parallel execution modes and provides methods to query, retrieve, and manage task results.

    -

    Hierarchy

    • TaskManagerBase
      • TaskManager

    Constructors

    Hierarchy

    • TaskManagerBase
      • TaskManager

    Constructors

    Properties

    _flags _mode _progress @@ -35,63 +35,63 @@ start stop

    Constructors

    Properties

    _flags: Set<TaskManagerFlag> = ...

    Current flags for the task manager.

    +

    Returns TaskManager

    Properties

    _flags: Set<TaskManagerFlag> = ...

    Current flags for the task manager.

    Empty set of flags.
     
    -
    _mode: ExecutionMode = ExecutionMode.SEQUENTIAL

    Current execution mode of the task manager.

    +
    _mode: ExecutionMode = ExecutionMode.SEQUENTIAL

    Current execution mode of the task manager.

    ExecutionMode.SEQUENTIAL
     
    -
    _progress: number = 0

    Current progress of tasks, represented as a value between 0 and 1.

    +
    _progress: number = 0

    Current progress of tasks, represented as a value between 0 and 1.

    0
     
    -
    _status: TaskManagerStatus = "idle"

    Current status of the task manager.

    +
    _status: TaskManagerStatus = "idle"

    Current status of the task manager.

    "idle"
     
    -
    flowController: FlowController = ...

    Manages task execution and flow control.

    -
    query: TaskQuery = ...

    Query interface for accessing and managing tasks.

    -

    Accessors

    flowController: FlowController = ...

    Manages task execution and flow control.

    +
    query: TaskQuery = ...

    Query interface for accessing and managing tasks.

    +

    Accessors

    • get progress(): number
    • Retrieves the current progress of tasks.

      -

      Returns number

    • set progress(progress: number): void
    • Updates the progress of tasks.

      +

    Returns void

    • get progress(): number
    • Retrieves the current progress of tasks.

      +

      Returns number

    • set progress(progress: number): void
    • Updates the progress of tasks.

      Parameters

      • progress: number

        New progress value (0 to 1).

      Returns void

      progress - When progress changes.

      param - When the progress parameter changes.

      -

    Methods

    Methods

    • Removes all listeners for all event types, as well as all global listeners.

      Returns this

      The EventEmitter instance itself, allowing for method chaining.

      emitter.clear(); // No more event listeners remain
       
    • Emits an event of a specific type, invoking all registered listeners for that event type with the provided data. Also calls any global event listeners with a GlobalEvent object.

      Type Parameters

      Parameters

      • type: TType

        The identifier for the event type to emit.

        @@ -103,13 +103,13 @@
    • Removes a previously registered event listener for a specified event type. Use this method to unregister listeners when they are no longer needed, preventing potential memory leaks.

      Type Parameters

      Parameters

      • type: TType

        The identifier for the event type from which to remove the listener.

        @@ -144,29 +144,29 @@

        Parameters

        Returns this

        Instance of the task manager for chaining.

        param - When the flags parameter changes.

        -
    • Sets the progress of tasks.

      Parameters

      • progress: number

        Progress value to set.

      Returns TaskManager

      Instance of the task manager for chaining.

      progress - When progress changes.

      param - When the progress parameter changes.

      -
    • Starts executing tasks in the queue.

      Parameters

      • Optionalforce: boolean

        If true, starts even if the manager is in an error state.

      Returns Promise<void | TaskManager>

      A promise that resolves when execution starts.

      progress - When task progress updates.

      success - When all tasks complete successfully.

      error - When a task or the manager encounters an error.

      fail - When a task fails and the CONTINUE_ON_ERROR flag is not set.

      -
    +
    diff --git a/web/public/docs/api/v1.0.0/classes/TaskQuery.html b/web/public/docs/api/v1.0.0/classes/TaskQuery.html index 09e397e..6ff0da9 100644 --- a/web/public/docs/api/v1.0.0/classes/TaskQuery.html +++ b/web/public/docs/api/v1.0.0/classes/TaskQuery.html @@ -1,5 +1,5 @@ TaskQuery | @lilbunnyrabbit/task-manager@1.0.0

    Provides methods to query, retrieve, and manage tasks and their results within a FlowController.

    -

    Constructors

    Constructors

    Accessors

    Methods

    find findLast @@ -11,44 +11,44 @@ getResults

    Constructors

    Accessors

    Methods

    • Finds the first task in the completed collection that matches the provided builder.

      +

    Returns TaskQuery

    Accessors

    Methods

    • Finds the first task in the completed collection that matches the provided builder.

      Type Parameters

      • T

        Type of the task.

      Parameters

      • builder: BuilderIs<T>

        Builder used to identify the task.

      Returns undefined | T

      The matching task, or undefined if not found.

      -
    • Finds the last task in the completed collection that matches the provided builder.

      Type Parameters

      • T

        Type of the task.

      Parameters

      • builder: BuilderIs<T>

        Builder used to identify the task.

      Returns undefined | T

      The matching task, or undefined if not found.

      -
    • Retrieves the first task in the completed collection that matches the provided builder.

      This method behaves the same as find, except it throws an error if no task is found.

      Type Parameters

      • T

        Type of the task.

      Parameters

      • builder: BuilderIs<T>

        Builder used to identify the task.

      Returns NonNullable<T>

      The matching task.

      If no task is found.

      -
    • Retrieves all tasks in the completed collection that match the provided builder.

      +
    +
    diff --git a/web/public/docs/api/v1.0.0/classes/TasksError.html b/web/public/docs/api/v1.0.0/classes/TasksError.html index 79dfb5d..e1d11f2 100644 --- a/web/public/docs/api/v1.0.0/classes/TasksError.html +++ b/web/public/docs/api/v1.0.0/classes/TasksError.html @@ -1,5 +1,5 @@ TasksError | @lilbunnyrabbit/task-manager@1.0.0

    Error containing one or more nested errors, including TaskError, other TasksError, or general Error instances.

    -

    Hierarchy

    • Error
      • TasksError

    Constructors

    Hierarchy

    • Error
      • TasksError

    Constructors

    Properties

    errors message name @@ -9,8 +9,8 @@

    Methods

    Constructors

    Properties

    errors: (Error | TaskError | TasksError)[]

    Array of errors, which can include TaskError, TasksError, or general Error instances.

    -
    message: string
    name: string
    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    +

    Returns TasksError

    Properties

    errors: (Error | TaskError | TasksError)[]

    Array of errors, which can include TaskError, TasksError, or general Error instances.

    +
    message: string
    name: string
    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/web/public/docs/api/v1.0.0/functions/createTask.html b/web/public/docs/api/v1.0.0/functions/createTask.html index d5933c6..07b0e1d 100644 --- a/web/public/docs/api/v1.0.0/functions/createTask.html +++ b/web/public/docs/api/v1.0.0/functions/createTask.html @@ -3,4 +3,4 @@
  • TResult = void

    Type of result the task produces.

  • Parameters

    Returns TaskBuilder<TaskSpec<TData, TResult>>

    A new TaskBuilder instance with the given configuration.

    -
    +
    diff --git a/web/public/docs/api/v1.0.0/functions/createTaskGroup.html b/web/public/docs/api/v1.0.0/functions/createTaskGroup.html index 7496dc1..4158ac4 100644 --- a/web/public/docs/api/v1.0.0/functions/createTaskGroup.html +++ b/web/public/docs/api/v1.0.0/functions/createTaskGroup.html @@ -2,4 +2,4 @@

    Type Parameters

    Parameters

    Returns TaskGroupBuilder<TArgs>

    A new TaskGroupBuilder instance.

    -
    +
    diff --git a/web/public/docs/api/v1.0.0/functions/isTask.html b/web/public/docs/api/v1.0.0/functions/isTask.html index 7e86ace..916715c 100644 --- a/web/public/docs/api/v1.0.0/functions/isTask.html +++ b/web/public/docs/api/v1.0.0/functions/isTask.html @@ -3,4 +3,4 @@

    Parameters

    Returns task is Task<TSpec>

    true if the object is a Task.

    -
    +
    diff --git a/web/public/docs/api/v1.0.0/functions/isTaskError.html b/web/public/docs/api/v1.0.0/functions/isTaskError.html index d344484..a1e6350 100644 --- a/web/public/docs/api/v1.0.0/functions/isTaskError.html +++ b/web/public/docs/api/v1.0.0/functions/isTaskError.html @@ -1,4 +1,4 @@ isTaskError | @lilbunnyrabbit/task-manager@1.0.0
    +
    diff --git a/web/public/docs/api/v1.0.0/functions/isTaskGroup.html b/web/public/docs/api/v1.0.0/functions/isTaskGroup.html index c144efc..20b9960 100644 --- a/web/public/docs/api/v1.0.0/functions/isTaskGroup.html +++ b/web/public/docs/api/v1.0.0/functions/isTaskGroup.html @@ -3,4 +3,4 @@

    Parameters

    Returns taskGroup is TaskGroup<TArgs>

    true if the object is an instance of TaskGroup.

    -
    +
    diff --git a/web/public/docs/api/v1.0.0/functions/isTasksError.html b/web/public/docs/api/v1.0.0/functions/isTasksError.html index 6108157..395d88c 100644 --- a/web/public/docs/api/v1.0.0/functions/isTasksError.html +++ b/web/public/docs/api/v1.0.0/functions/isTasksError.html @@ -1,4 +1,4 @@ isTasksError | @lilbunnyrabbit/task-manager@1.0.0
    +
    diff --git a/web/public/docs/api/v1.0.0/hierarchy.html b/web/public/docs/api/v1.0.0/hierarchy.html index 8eea673..4c02eb5 100644 --- a/web/public/docs/api/v1.0.0/hierarchy.html +++ b/web/public/docs/api/v1.0.0/hierarchy.html @@ -1 +1 @@ -@lilbunnyrabbit/task-manager@1.0.0

    @lilbunnyrabbit/task-manager@1.0.0

    Hierarchy Summary

    +@lilbunnyrabbit/task-manager@1.0.0

    @lilbunnyrabbit/task-manager@1.0.0

    Hierarchy Summary

    diff --git a/web/public/docs/api/v1.0.0/index.html b/web/public/docs/api/v1.0.0/index.html index 4a991b6..aec7fe3 100644 --- a/web/public/docs/api/v1.0.0/index.html +++ b/web/public/docs/api/v1.0.0/index.html @@ -23,15 +23,15 @@
  • TaskGroup: Allows grouping related tasks together, managing dependencies, and structuring workflows.
  • TaskManager: Orchestrates execution, handles progress tracking, and manages error recovery.
  • -

    Define a task using createTask:

    +

    Define a task using createTask:

    import { createTask } from "@lilbunnyrabbit/task-manager";

    const myTask = createTask<number, string>({
    name: "Example Task",
    async execute(id) {
    return `Task #${id} Completed!`;
    },
    });
    -

    A TaskGroup allows structuring workflows by managing multiple tasks:

    +

    A TaskGroup allows structuring workflows by managing multiple tasks:

    import { createTaskGroup } from "@lilbunnyrabbit/task-manager";

    const exampleGroup = createTaskGroup({
    name: "Example Group",
    tasks(ids: number[]) {
    return ids.map((id) => myTask(id));
    },
    });
    -

    A TaskManager runs and tracks task execution:

    +

    A TaskManager runs and tracks task execution:

    import { TaskManager } from "@lilbunnyrabbit/task-manager";

    const manager = new TaskManager();
    manager.addTasks(exampleGroup([1, 2, 3]), myTask(4));
    manager.start();
    @@ -45,25 +45,24 @@

    See more in the Use Cases Section.

    This section provides a rough TypeScript definition of the main components.

    -

    A Task represents a unit of work with execution logic, progress tracking, and result management.

    +

    A Task represents a unit of work with execution logic, progress tracking, and result management.

    interface Task<TSpec extends TaskSpec> extends TaskBase<TSpec> {
    readonly id: string;
    readonly name: string;
    readonly data: TSpec["TData"]
    readonly builder: TaskBuilder<TSpec>
    readonly logs: LogEntry[];
    readonly query?: TaskQuery;

    execute(): Promise<Optional<TSpec["TResult"]>>;
    parse(): ParsedTask;
    toString(pretty?: boolean): string;
    clone(): Task<TSpec>;
    }
    -

    A TaskGroup manages multiple tasks and defines execution order.

    +

    A TaskGroup manages multiple tasks and defines execution order.

    interface TaskGroup<TArgs extends unknown[]> extends TaskGroupBase {
    readonly id: string;
    readonly name: string;
    readonly args: TArgs;
    readonly builder: TaskGroupBuilder<TArgs>;
    readonly mode: ExecutionMode;
    readonly tasks: ExecutableTask[];
    readonly query: TaskQuery;

    execute(): Promise<this>;
    toString(pretty?: boolean): string;
    clone(): TaskGroup<TArgs>;
    }
    -

    A TaskManager executes tasks, tracks progress, and manages execution settings.

    +

    A TaskManager executes tasks, tracks progress, and manages execution settings.

    interface TaskManager extends TaskManagerBase {
    readonly tasks: ExecutableTask[];
    readonly query: TaskQuery;

    addTask(task: ExecutableTask): this;
    addTasks(...tasks: ExecutableTask[]): this;
    start(force?: boolean): Promise<void>;
    stop(): void;
    reset(): void;
    clearQueue(): this;
    }

    For full API documentation, visit the Docs.

    -
    -

    Clone the repository and install dependencies:

    +

    Clone the repository and install dependencies:

    git clone https://github.com/lilBunnyRabbit/task-manager.git
    cd task-manager
    npm install
    - +
    @@ -121,7 +120,7 @@
    Command

    Contributions are always welcome! For any enhancements or bug fixes, please open a pull request linked to the relevant issue. If there's no existing issue related to your contribution, feel free to create one.

    -

    Your support is greatly appreciated! If this package has been helpful, consider supporting by buying me a coffee.

    -

    "Buy Me A Coffee"

    +

    Your support is greatly appreciated! If this package has been helpful, consider supporting its development. Your contributions help maintain and improve this project.

    +

    GitHub Sponsor

    MIT © Andraž Mesarič-Sirec

    diff --git a/web/public/docs/api/v1.0.0/interfaces/BuilderIs.html b/web/public/docs/api/v1.0.0/interfaces/BuilderIs.html index 0927bb8..dae85a8 100644 --- a/web/public/docs/api/v1.0.0/interfaces/BuilderIs.html +++ b/web/public/docs/api/v1.0.0/interfaces/BuilderIs.html @@ -1,7 +1,7 @@ BuilderIs | @lilbunnyrabbit/task-manager@1.0.0

    Interface for builder type-checking.

    interface BuilderIs<TValue> {
        is(task: unknown): task is TValue;
    }

    Type Parameters

    • TValue

      The type of value to check.

      -

    Hierarchy (View Summary)

    Methods

    is +

    Hierarchy (View Summary)

    Methods

    Methods

    • Checks if the provided task is of the specified type.

      Parameters

      • task: unknown

        Object to check.

      Returns task is TValue

      true if the task is of the specified type.

      -
    +
    diff --git a/web/public/docs/api/v1.0.0/interfaces/LogEntry.html b/web/public/docs/api/v1.0.0/interfaces/LogEntry.html index e05c913..525f151 100644 --- a/web/public/docs/api/v1.0.0/interfaces/LogEntry.html +++ b/web/public/docs/api/v1.0.0/interfaces/LogEntry.html @@ -1,12 +1,12 @@ LogEntry | @lilbunnyrabbit/task-manager@1.0.0

    Complete log entry with a timestamp and optional stack trace.

    -
    interface LogEntry {
        level: "error" | "debug" | "info" | "warn";
        message: LogMessage;
        meta?: any;
        stack?: string;
        timestamp: string;
    }

    Hierarchy (View Summary)

    Properties

    interface LogEntry {
        level: "error" | "debug" | "info" | "warn";
        message: LogMessage;
        meta?: any;
        stack?: string;
        timestamp: string;
    }

    Hierarchy (View Summary)

    Properties

    level: "error" | "debug" | "info" | "warn"

    Log level indicating the severity of the log.

    -
    message: LogMessage

    The message associated with the log entry.

    -
    meta?: any

    Optional metadata for the log entry.

    -
    stack?: string

    Stack trace for "debug" and "error" levels.

    -
    timestamp: string

    ISO-formatted timestamp when the log was created.

    -
    +
    message: LogMessage

    The message associated with the log entry.

    +
    meta?: any

    Optional metadata for the log entry.

    +
    stack?: string

    Stack trace for "debug" and "error" levels.

    +
    timestamp: string

    ISO-formatted timestamp when the log was created.

    +
    diff --git a/web/public/docs/api/v1.0.0/interfaces/LogEntryInput.html b/web/public/docs/api/v1.0.0/interfaces/LogEntryInput.html index c735805..691c682 100644 --- a/web/public/docs/api/v1.0.0/interfaces/LogEntryInput.html +++ b/web/public/docs/api/v1.0.0/interfaces/LogEntryInput.html @@ -1,8 +1,8 @@ LogEntryInput | @lilbunnyrabbit/task-manager@1.0.0

    Input for creating a log entry.

    -
    interface LogEntryInput {
        level: "error" | "debug" | "info" | "warn";
        message: LogMessage;
        meta?: any;
    }

    Hierarchy (View Summary)

    Properties

    interface LogEntryInput {
        level: "error" | "debug" | "info" | "warn";
        message: LogMessage;
        meta?: any;
    }

    Hierarchy (View Summary)

    Properties

    Properties

    level: "error" | "debug" | "info" | "warn"

    Log level indicating the severity of the log.

    -
    message: LogMessage

    The message associated with the log entry.

    -
    meta?: any

    Optional metadata for the log entry.

    -
    +
    message: LogMessage

    The message associated with the log entry.

    +
    meta?: any

    Optional metadata for the log entry.

    +
    diff --git a/web/public/docs/api/v1.0.0/interfaces/ParsedTask.html b/web/public/docs/api/v1.0.0/interfaces/ParsedTask.html index d4b91bc..60ad225 100644 --- a/web/public/docs/api/v1.0.0/interfaces/ParsedTask.html +++ b/web/public/docs/api/v1.0.0/interfaces/ParsedTask.html @@ -1,6 +1,6 @@ ParsedTask | @lilbunnyrabbit/task-manager@1.0.0

    Parsed version of a Task, used for UI rendering.

    -
    interface ParsedTask {
        result?: string;
        status?: string;
    }

    Properties

    interface ParsedTask {
        result?: string;
        status?: string;
    }

    Properties

    Properties

    result?: string

    Optional result of the Task.

    -
    status?: string

    Current status of the Task.

    -
    +
    status?: string

    Current status of the Task.

    +
    diff --git a/web/public/docs/api/v1.0.0/interfaces/TaskBuilder.html b/web/public/docs/api/v1.0.0/interfaces/TaskBuilder.html index 75da584..082e6e1 100644 --- a/web/public/docs/api/v1.0.0/interfaces/TaskBuilder.html +++ b/web/public/docs/api/v1.0.0/interfaces/TaskBuilder.html @@ -3,16 +3,16 @@

    Hierarchy (View Summary)

    Properties

    Properties

    Methods

    Properties

    id: string

    Unique identifier for the task builder.

    -
    taskName: string

    Name of the task.

    -

    Methods

    taskName: string

    Name of the task.

    +

    Methods

    • String representation of the task builder.

      Parameters

      • Optionalpretty: boolean

        If true, outputs a prettified string.

      Returns string

      String representing the task builder.

      -
    +
    diff --git a/web/public/docs/api/v1.0.0/interfaces/TaskConfig.html b/web/public/docs/api/v1.0.0/interfaces/TaskConfig.html index db381e3..18afab2 100644 --- a/web/public/docs/api/v1.0.0/interfaces/TaskConfig.html +++ b/web/public/docs/api/v1.0.0/interfaces/TaskConfig.html @@ -1,9 +1,9 @@ TaskConfig | @lilbunnyrabbit/task-manager@1.0.0

    Configuration for creating a Task.

    interface TaskConfig<TSpec extends TaskSpec> {
        execute: (
            this: Task<TSpec>,
            data: TSpec["TData"],
        ) => TSpec["TResult"] | Promise<TSpec["TResult"]>;
        name: string;
        parse?: (this: Task<TSpec>) => undefined | ParsedTask;
    }

    Type Parameters

    • TSpec extends TaskSpec

      Task specification type.

      -

    Properties

    Properties

    Properties

    execute: (
        this: Task<TSpec>,
        data: TSpec["TData"],
    ) => TSpec["TResult"] | Promise<TSpec["TResult"]>

    Function to execute the task, returning a result or a promise.

    -
    name: string

    Name of the task.

    -
    parse?: (this: Task<TSpec>) => undefined | ParsedTask

    Function to parse the task's outcome into a ParsedTask.

    -
    +
    name: string

    Name of the task.

    +
    parse?: (this: Task<TSpec>) => undefined | ParsedTask

    Function to parse the task's outcome into a ParsedTask.

    +
    diff --git a/web/public/docs/api/v1.0.0/interfaces/TaskGroupBuilder.html b/web/public/docs/api/v1.0.0/interfaces/TaskGroupBuilder.html index dc102b5..f152fe8 100644 --- a/web/public/docs/api/v1.0.0/interfaces/TaskGroupBuilder.html +++ b/web/public/docs/api/v1.0.0/interfaces/TaskGroupBuilder.html @@ -3,16 +3,16 @@

    Hierarchy (View Summary)

    Properties

    Properties

    Methods

    Properties

    id: string

    Unique identifier for the task group builder.

    -
    taskGroupName: string

    Name of the task group.

    -

    Methods

    taskGroupName: string

    Name of the task group.

    +

    Methods

    • Converts the task group builder to a string representation.

      Parameters

      • Optionalpretty: boolean

        If true, formats the string for readability.

      Returns string

      A string representing the task group builder.

      -
    +
    diff --git a/web/public/docs/api/v1.0.0/types/ExecutableTask.html b/web/public/docs/api/v1.0.0/types/ExecutableTask.html index 70ae5bc..0f4d5e1 100644 --- a/web/public/docs/api/v1.0.0/types/ExecutableTask.html +++ b/web/public/docs/api/v1.0.0/types/ExecutableTask.html @@ -1,2 +1,2 @@ ExecutableTask | @lilbunnyrabbit/task-manager@1.0.0
    ExecutableTask: Task<any> | TaskGroup<any[]>

    Represents a task that can be executed, which could be a single Task or a TaskGroup.

    -
    +
    diff --git a/web/public/docs/api/v1.0.0/types/ExecutionMode.html b/web/public/docs/api/v1.0.0/types/ExecutionMode.html index 3b9e110..984f0f3 100644 --- a/web/public/docs/api/v1.0.0/types/ExecutionMode.html +++ b/web/public/docs/api/v1.0.0/types/ExecutionMode.html @@ -1 +1 @@ -ExecutionMode | @lilbunnyrabbit/task-manager@1.0.0
    ExecutionMode: typeof ExecutionMode[keyof typeof ExecutionMode]
    +ExecutionMode | @lilbunnyrabbit/task-manager@1.0.0
    ExecutionMode: typeof ExecutionMode[keyof typeof ExecutionMode]
    diff --git a/web/public/docs/api/v1.0.0/types/FlowControllerEvents.html b/web/public/docs/api/v1.0.0/types/FlowControllerEvents.html index abc66a4..b031abc 100644 --- a/web/public/docs/api/v1.0.0/types/FlowControllerEvents.html +++ b/web/public/docs/api/v1.0.0/types/FlowControllerEvents.html @@ -1,3 +1,3 @@ FlowControllerEvents | @lilbunnyrabbit/task-manager@1.0.0
    FlowControllerEvents: {
        transition: { from?: FlowState; task: ExecutableTask; to?: FlowState };
    }

    Events emitted by FlowController.

    Type declaration

    +
    diff --git a/web/public/docs/api/v1.0.0/types/FlowState.html b/web/public/docs/api/v1.0.0/types/FlowState.html index e39cf73..0e037bb 100644 --- a/web/public/docs/api/v1.0.0/types/FlowState.html +++ b/web/public/docs/api/v1.0.0/types/FlowState.html @@ -1,2 +1,2 @@ FlowState | @lilbunnyrabbit/task-manager@1.0.0
    FlowState: "pending" | "active" | "completed"

    Possible states of a task in the flow.

    -
    +
    diff --git a/web/public/docs/api/v1.0.0/types/LogMessage.html b/web/public/docs/api/v1.0.0/types/LogMessage.html index 1ef9bfd..75d4a5b 100644 --- a/web/public/docs/api/v1.0.0/types/LogMessage.html +++ b/web/public/docs/api/v1.0.0/types/LogMessage.html @@ -1,2 +1,2 @@ LogMessage | @lilbunnyrabbit/task-manager@1.0.0
    LogMessage: string | number | boolean | null | undefined

    Log message, which can be a string, number, boolean, or null/undefined.

    -
    +
    diff --git a/web/public/docs/api/v1.0.0/types/TaskEvents.html b/web/public/docs/api/v1.0.0/types/TaskEvents.html index 5f8b4ce..6a6f9d2 100644 --- a/web/public/docs/api/v1.0.0/types/TaskEvents.html +++ b/web/public/docs/api/v1.0.0/types/TaskEvents.html @@ -4,4 +4,4 @@
  • param: "status" | "progress" | "result"

    Emitted when a parameter changes.

  • progress: number

    Emitted when progress updates.

  • success: void

    Emitted when the task completes successfully.

    -
  • +
    diff --git a/web/public/docs/api/v1.0.0/types/TaskGroupConfig.html b/web/public/docs/api/v1.0.0/types/TaskGroupConfig.html index 3f2c09a..495028e 100644 --- a/web/public/docs/api/v1.0.0/types/TaskGroupConfig.html +++ b/web/public/docs/api/v1.0.0/types/TaskGroupConfig.html @@ -6,4 +6,4 @@
  • tasks:function
  • +
    diff --git a/web/public/docs/api/v1.0.0/types/TaskGroupEvents.html b/web/public/docs/api/v1.0.0/types/TaskGroupEvents.html index c17ca32..49ad389 100644 --- a/web/public/docs/api/v1.0.0/types/TaskGroupEvents.html +++ b/web/public/docs/api/v1.0.0/types/TaskGroupEvents.html @@ -4,4 +4,4 @@
  • progress: number

    Emitted when the progress of the task group is updated.

  • success: void

    Emitted when all tasks in the queue are executed successfully.

  • transition: { from?: FlowState; task: ExecutableTask; to?: FlowState }

    Emitted when a task transitions between states in the flow.

    -
  • +
    diff --git a/web/public/docs/api/v1.0.0/types/TaskGroupFlag.html b/web/public/docs/api/v1.0.0/types/TaskGroupFlag.html index f65ea43..8cb38e0 100644 --- a/web/public/docs/api/v1.0.0/types/TaskGroupFlag.html +++ b/web/public/docs/api/v1.0.0/types/TaskGroupFlag.html @@ -1 +1 @@ -TaskGroupFlag | @lilbunnyrabbit/task-manager@1.0.0
    TaskGroupFlag: typeof TaskGroupFlag[keyof typeof TaskGroupFlag]
    +TaskGroupFlag | @lilbunnyrabbit/task-manager@1.0.0
    TaskGroupFlag: typeof TaskGroupFlag[keyof typeof TaskGroupFlag]
    diff --git a/web/public/docs/api/v1.0.0/types/TaskGroupStatus.html b/web/public/docs/api/v1.0.0/types/TaskGroupStatus.html index 095a584..f3d678c 100644 --- a/web/public/docs/api/v1.0.0/types/TaskGroupStatus.html +++ b/web/public/docs/api/v1.0.0/types/TaskGroupStatus.html @@ -1,2 +1,2 @@ TaskGroupStatus | @lilbunnyrabbit/task-manager@1.0.0
    TaskGroupStatus: "idle" | "in-progress" | "error" | "success"

    Statuses of a TaskGroup.

    -
    +
    diff --git a/web/public/docs/api/v1.0.0/types/TaskManagerEvents.html b/web/public/docs/api/v1.0.0/types/TaskManagerEvents.html index 49e976a..19f3878 100644 --- a/web/public/docs/api/v1.0.0/types/TaskManagerEvents.html +++ b/web/public/docs/api/v1.0.0/types/TaskManagerEvents.html @@ -5,4 +5,4 @@
  • progress: number

    Emitted when task progress updates.

  • success: void

    Emitted when all tasks in the queue are successfully executed.

  • transition: { from?: FlowState; task: ExecutableTask; to?: FlowState }

    Emitted when a task transitions between states.

    -
  • +
    diff --git a/web/public/docs/api/v1.0.0/types/TaskManagerFlag.html b/web/public/docs/api/v1.0.0/types/TaskManagerFlag.html index 9ad2dc2..28a0a6f 100644 --- a/web/public/docs/api/v1.0.0/types/TaskManagerFlag.html +++ b/web/public/docs/api/v1.0.0/types/TaskManagerFlag.html @@ -1 +1 @@ -TaskManagerFlag | @lilbunnyrabbit/task-manager@1.0.0
    TaskManagerFlag: typeof TaskManagerFlag[keyof typeof TaskManagerFlag]
    +TaskManagerFlag | @lilbunnyrabbit/task-manager@1.0.0
    TaskManagerFlag: typeof TaskManagerFlag[keyof typeof TaskManagerFlag]
    diff --git a/web/public/docs/api/v1.0.0/types/TaskManagerStatus.html b/web/public/docs/api/v1.0.0/types/TaskManagerStatus.html index dea26c0..3abfb13 100644 --- a/web/public/docs/api/v1.0.0/types/TaskManagerStatus.html +++ b/web/public/docs/api/v1.0.0/types/TaskManagerStatus.html @@ -1,2 +1,2 @@ TaskManagerStatus | @lilbunnyrabbit/task-manager@1.0.0
    TaskManagerStatus: "idle" | "in-progress" | "error" | "success" | "stopped"

    Statuses for a TaskManager.

    -
    +
    diff --git a/web/public/docs/api/v1.0.0/types/TaskSpec.html b/web/public/docs/api/v1.0.0/types/TaskSpec.html index 095bbf2..954e6ea 100644 --- a/web/public/docs/api/v1.0.0/types/TaskSpec.html +++ b/web/public/docs/api/v1.0.0/types/TaskSpec.html @@ -1,4 +1,4 @@ TaskSpec | @lilbunnyrabbit/task-manager@1.0.0

    Type Alias TaskSpec<TData, TResult>

    TaskSpec: { TData: TData; TResult: TResult }

    Structure for a task specification.

    Type Parameters

    • TData = any

      Input data type.

    • TResult = any

      Result data type.

      -

    Type declaration

    +

    Type declaration

    diff --git a/web/public/docs/api/v1.0.0/types/TaskStatus.html b/web/public/docs/api/v1.0.0/types/TaskStatus.html index 6796ce8..ae41fba 100644 --- a/web/public/docs/api/v1.0.0/types/TaskStatus.html +++ b/web/public/docs/api/v1.0.0/types/TaskStatus.html @@ -1,2 +1,2 @@ TaskStatus | @lilbunnyrabbit/task-manager@1.0.0
    TaskStatus: "idle" | "in-progress" | "error" | "success"

    Possible statuses of a Task.

    -
    +
    diff --git a/web/public/docs/api/v1.0.0/variables/ExecutionMode-1.html b/web/public/docs/api/v1.0.0/variables/ExecutionMode-1.html index a9013ba..658282c 100644 --- a/web/public/docs/api/v1.0.0/variables/ExecutionMode-1.html +++ b/web/public/docs/api/v1.0.0/variables/ExecutionMode-1.html @@ -1,4 +1,4 @@ ExecutionMode | @lilbunnyrabbit/task-manager@1.0.0
    ExecutionMode: { PARALLEL: "parallel"; SEQUENTIAL: "sequential" } = ...

    Defines the execution modes for tasks.

    Type declaration

    • ReadonlyPARALLEL: "parallel"

      Executes tasks in parallel.

    • ReadonlySEQUENTIAL: "sequential"

      Executes tasks sequentially.

      -
    +
    diff --git a/web/public/docs/api/v1.0.0/variables/TaskGroupFlag-1.html b/web/public/docs/api/v1.0.0/variables/TaskGroupFlag-1.html index 8868db1..a4222b4 100644 --- a/web/public/docs/api/v1.0.0/variables/TaskGroupFlag-1.html +++ b/web/public/docs/api/v1.0.0/variables/TaskGroupFlag-1.html @@ -1,3 +1,3 @@ TaskGroupFlag | @lilbunnyrabbit/task-manager@1.0.0
    TaskGroupFlag: { CONTINUE_ON_ERROR: "CONTINUE_ON_ERROR" } = ...

    Flags controlling the behavior of a TaskGroup.

    Type declaration

    • ReadonlyCONTINUE_ON_ERROR: "CONTINUE_ON_ERROR"

      Continues execution even if a task fails.

      -
    +
    diff --git a/web/public/docs/api/v1.0.0/variables/TaskManagerFlag-1.html b/web/public/docs/api/v1.0.0/variables/TaskManagerFlag-1.html index ef378a0..a48d0c2 100644 --- a/web/public/docs/api/v1.0.0/variables/TaskManagerFlag-1.html +++ b/web/public/docs/api/v1.0.0/variables/TaskManagerFlag-1.html @@ -1,4 +1,4 @@ TaskManagerFlag | @lilbunnyrabbit/task-manager@1.0.0
    TaskManagerFlag: { CONTINUE_ON_ERROR: "CONTINUE_ON_ERROR"; STOP: "STOP" } = ...

    Flags controlling the behavior of a TaskManager.

    Type declaration

    • ReadonlyCONTINUE_ON_ERROR: "CONTINUE_ON_ERROR"

      Continues execution even if a task fails.

    • ReadonlySTOP: "STOP"

      Indicates that the execution loop should stop.

      -
    +
    diff --git a/web/public/versions.json b/web/public/versions.json index 1848dd2..5f39480 100644 --- a/web/public/versions.json +++ b/web/public/versions.json @@ -1,7 +1,10 @@ [ { "root": "1.x.x", - "versions": [{ "version": "1.0.0", "date": "YYYY-MM-DD", "src": "v1.0.0" }] + "versions": [ + { "version": "1.0.0", "date": "2025-02-14", "src": "v1.0.0" }, + { "version": "1.0.1", "date": "2025-02-18", "src": "v1.0.0" } + ] }, { "root": "0.x.x", diff --git a/web/src/routes/landing-page.route.tsx b/web/src/routes/landing-page.route.tsx index 804ee00..3eff7da 100644 --- a/web/src/routes/landing-page.route.tsx +++ b/web/src/routes/landing-page.route.tsx @@ -685,12 +685,16 @@ const FooterSection: React.FC = ({ className }) => {

    Support

    - - - - - - +