effect-concurrency-testing
Effect Concurrency Testing Skill
This skill provides patterns for testing Effect's concurrency primitives: fibers, latches, deferreds, PubSub, SubscriptionRef, and streams.
Baseline: effect@4.1.0 stable, with matching @effect/vitest (an unstable
integration). Read exact packages/vitest/src/index.ts, internal/internal.ts,
under packages/vitest/src/, and packages/effect/src/testing/TestClock.ts via
git show effect@4.1.0:<path>. Its Vitest peer range is >=5.0.0 <6.0.0.
Main may describe later behavior.
The @effect/vitest examples below are source-reviewed against that tag, but
are not marked for this repository's documentation typecheck: the companion
package is intentionally absent and requires Vitest 5 rather than its Vitest 3
runner. Core-only standalone examples retain their typecheck markers.
Core Principles
CRITICAL: Choose the correct coordination primitive based on what you need to synchronize.