• Blog
  • Changelog
  • Follow us on GitHubFollow us on XJoin our Discord server
  • Blog
  • GitHub
  • Releases
  • Getting started

    • Overview
  • Library

    • Getting started
    • Array
    • Result
    • Dependency injection
    • Resource management
    • Task
    • Type
    • Conventions
  • Local-first

    • Getting started
    • Playgrounds
    • Examples
    • Owners
    • Relay
    • Migrations
    • Time travel
    • Indexes
    • Protocol
    • Privacy
    • FAQ
  • Other

    • API reference
    • Comparison
    • Showcase
    • Changelog

API reference › @evolu/common › Task › RunState

type RunState<T, E> =
  | RunStateRunning
  | RunStateDisposing
  | RunStateSettled<T, E>;

Defined in: packages/common/src/Task.ts:969

The lifecycle state of a Run.

  • Running — Task running, no result yet
  • Disposing — abort requested, waiting for children to settle
  • Settled — settled with result and outcome
Markdown for LLMs

© 2026 Evolu

Follow us on GitHubFollow us on XJoin our Discord server