Scheduling

Model retries, polling, and backoff strategies for Effect-TS operations.

8|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/andrueandersoncs/claude-skill-effect-ts --skill scheduling-andrueandersoncs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Scheduling
Source: https://github.com/andrueandersoncs/claude-skill-effect-ts/tree/main/skills/scheduling
Command: npx skills add https://github.com/andrueandersoncs/claude-skill-effect-ts --skill scheduling-andrueandersoncs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers model and apply scheduling patterns such as retries, polling, and backoff for Effect-TS operations, reducing boilerplate and increasing reliability.

Core Features & Use Cases

  • Built-in schedules: fixed intervals, exponential backoff, recurs, and cron-like patterns.
  • Retry & Polling decisions: apply schedules to Effect.retry, Effect.repeat to implement robust retry and polling strategies.
  • Real-world use cases: retry an API call with backoff, poll a status endpoint until a resource becomes ready, or implement time-bound workflows with deterministic timing.

Quick Start

Define a retry pattern with exponential backoff and apply it to a failing operation: Use: Effect.retry(Schedule.exponential("1 second").pipe(Schedule.recurs(5)))

Frequently Asked Questions about Scheduling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement exponential backoff for API retries in Effect-TS?

Implement exponential backoff for API retries in Effect-TS by defining a schedule with `Schedule.exponential` and applying it via `Effect.retry`. You can cap the attempts using `Schedule.recurs` to limit the maximum number of retries.

What is the best way to poll a status endpoint until ready using Effect-TS?

Poll a status endpoint in Effect-TS by composing a fixed-interval `Schedule.spaced` with `Effect.repeat`. This applies deterministic timing to repeatedly execute the polling operation until the resource becomes ready.

Can I compose multiple Schedule combinators for time-bound workflows in Effect-TS?

Yes, you can compose multiple Schedule combinators in Effect-TS to model time-bound workflows. Combining APIs like `spaced`, `recurs`, and `exponential` enables deterministic intervals, backoff, and jitter for complex timing requirements.

Does Effect-TS support cron-like patterns for periodic task scheduling?

Effect-TS supports cron-like patterns for periodic task scheduling through its Schedule APIs. You can apply these schedules using `Effect.retry` or `Effect.repeat` to manage recurring operations and time-bound workflows.

How do I add jitter to retry intervals in Effect-TS?

Add jitter to retry intervals in Effect-TS by composing schedule combinators with `Effect.retry`. This modifies deterministic intervals and exponential backoff patterns to introduce randomized delays, preventing thundering herd problems during retries.