# durable-effect ## Docs - [Continuous](https://mintlify.wiki/backpine/durable-effect/api/jobs/continuous.md): Define recurring jobs that execute on a fixed interval or cron schedule. - [createDurableJobs](https://mintlify.wiki/backpine/durable-effect/api/jobs/create-durable-jobs.md): Wire up job definitions into a Durable Object class and a type-safe client factory. - [Debounce](https://mintlify.wiki/backpine/durable-effect/api/jobs/debounce.md): Collect rapid events and process them as a batch after a delay or when a count threshold is reached. - [Task](https://mintlify.wiki/backpine/durable-effect/api/jobs/task.md): Build user-controlled durable state machines driven by events and durable alarms. - [createTasks()](https://mintlify.wiki/backpine/durable-effect/api/task/create-tasks.md): Wire task definitions into a Cloudflare Durable Object class and a type-safe client accessor. - [TaskContext](https://mintlify.wiki/backpine/durable-effect/api/task/task-context.md): The context object passed to every task handler, providing state, scheduling, and lifecycle APIs. - [Task.define()](https://mintlify.wiki/backpine/durable-effect/api/task/task-define.md): Define a durable, event-driven task with typed state, events, and handlers. - [Backoff](https://mintlify.wiki/backpine/durable-effect/api/workflow/backoff.md): Backoff strategies and utilities for configuring retry delays in workflow steps. - [createDurableWorkflows](https://mintlify.wiki/backpine/durable-effect/api/workflow/create-durable-workflows.md): Create the Durable Object class and type-safe client factory for a set of workflow definitions. - [Workflow.make](https://mintlify.wiki/backpine/durable-effect/api/workflow/make.md): Create a durable workflow definition from an Effect function. - [Workflow.sleep / sleepUntil](https://mintlify.wiki/backpine/durable-effect/api/workflow/sleep.md): Pause a workflow for a duration or until a specific timestamp, durably across restarts. - [Workflow.step](https://mintlify.wiki/backpine/durable-effect/api/workflow/step.md): Execute a durable, cached step within a workflow. - [Adapters](https://mintlify.wiki/backpine/durable-effect/concepts/adapters.md): How the adapter pattern decouples workflow logic from infrastructure, enabling both Cloudflare DO production use and in-memory testing. - [How durable execution works](https://mintlify.wiki/backpine/durable-effect/concepts/durability.md): The mechanics behind step caching, pause signals, execution modes, and the workflow state machine. - [Telemetry](https://mintlify.wiki/backpine/durable-effect/concepts/telemetry.md): Built-in event tracking for workflows and jobs, with HTTP batch delivery, no-op, and in-memory options. - [Introduction](https://mintlify.wiki/backpine/durable-effect/introduction.md): Effectful abstractions for durable runtimes — write business logic as pure Effect programs and let the library handle persistence, retries, and scheduling. - [Jobs client](https://mintlify.wiki/backpine/durable-effect/jobs/client.md): Start, trigger, inspect, and terminate job instances from your worker. - [Cloudflare setup](https://mintlify.wiki/backpine/durable-effect/jobs/cloudflare-setup.md): Configure your Cloudflare Worker, Durable Object binding, and wrangler.jsonc for durable jobs. - [Continuous jobs](https://mintlify.wiki/backpine/durable-effect/jobs/continuous.md): Execute recurring logic on a fixed schedule or cron expression. - [Debounce jobs](https://mintlify.wiki/backpine/durable-effect/jobs/debounce.md): Collect rapid events into batches and process them together after a delay. - [Jobs](https://mintlify.wiki/backpine/durable-effect/jobs/overview.md): Durable job abstractions for Cloudflare Workers built on Effect. - [Task jobs](https://mintlify.wiki/backpine/durable-effect/jobs/task.md): Build event-driven state machines with full lifecycle control. - [Quickstart](https://mintlify.wiki/backpine/durable-effect/quickstart.md): Install @durable-effect/workflow and run your first durable workflow on Cloudflare Workers. - [Defining tasks](https://mintlify.wiki/backpine/durable-effect/task/defining-tasks.md): How to define tasks with Task.define(), use TaskContext inside handlers, handle errors, and provide service dependencies. - [Tasks (Low-Level)](https://mintlify.wiki/backpine/durable-effect/task/overview.md): A lower-level package for defining durable, event-driven tasks on Cloudflare Workers with full control over your Durable Object setup. - [Testing tasks](https://mintlify.wiki/backpine/durable-effect/task/testing.md): Test tasks without Cloudflare using in-memory storage and alarm implementations, a registry layer, and the TaskRunner service. - [Client](https://mintlify.wiki/backpine/durable-effect/workflow/client.md): Start, monitor, and cancel workflow instances using the typed WorkflowClient. - [Cloudflare setup](https://mintlify.wiki/backpine/durable-effect/workflow/cloudflare-setup.md): Configure Durable Objects bindings and wrangler to run workflows on Cloudflare Workers. - [Workflows](https://mintlify.wiki/backpine/durable-effect/workflow/overview.md): Durable workflows that survive server restarts, network failures, and deployments. - [Retry and timeouts](https://mintlify.wiki/backpine/durable-effect/workflow/retry-and-timeouts.md): Configure backoff strategies, jitter, max duration, and per-attempt deadlines for workflow steps. - [Sleep](https://mintlify.wiki/backpine/durable-effect/workflow/sleep.md): Pause a workflow for any duration. Sleeps survive server restarts and deployments. - [Steps](https://mintlify.wiki/backpine/durable-effect/workflow/steps.md): Durable building blocks that cache their results and replay them on workflow resume. ## OpenAPI Specs - [openapi](https://mintlify.wiki/backpine/durable-effect/api-reference/openapi.json)