You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Priyanka Punukollu 267a7b1e4f Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
..
.index Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Arbitrary Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Array Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
BigDecimal Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
BigInt Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Boolean Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Brand Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Cache Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Cause Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Channel Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ChildExecutorDecision Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Chunk Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Clock Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Config Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ConfigError Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ConfigProvider Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ConfigProviderPathPatch Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Console Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Context Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Cron Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Data Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
DateTime Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
DefaultServices Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Deferred Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Differ Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Duration Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Effect Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Effectable Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Either Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Encoding Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Equal Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Equivalence Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ExecutionPlan Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ExecutionStrategy Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Exit Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
FastCheck Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Fiber Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
FiberHandle Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
FiberId Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
FiberMap Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
FiberRef Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
FiberRefs Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
FiberRefsPatch Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
FiberSet Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
FiberStatus Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Function Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
GlobalValue Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Graph Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
GroupBy Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
HKT Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Hash Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
HashMap Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
HashSet Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Inspectable Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Iterable Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
JSONSchema Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
KeyedPool Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Layer Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
LayerMap Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
List Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
LogLevel Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
LogSpan Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Logger Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Mailbox Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ManagedRuntime Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Match Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MergeDecision Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MergeState Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MergeStrategy Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Metric Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MetricBoundaries Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MetricHook Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MetricKey Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MetricKeyType Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MetricLabel Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MetricPair Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MetricPolling Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MetricRegistry Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MetricState Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Micro Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ModuleVersion Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MutableHashMap Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MutableHashSet Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MutableList Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MutableQueue Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
MutableRef Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
NonEmptyIterable Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Number Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Option Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Order Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Ordering Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ParseResult Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Pipeable Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Pool Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Predicate Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Pretty Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
PrimaryKey Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
PubSub Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Queue Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Random Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
RateLimiter Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
RcMap Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
RcRef Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Readable Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Record Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
RedBlackTree Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Redacted Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Ref Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
RegExp Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Reloadable Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Request Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
RequestBlock Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
RequestResolver Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Resource Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Runtime Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
RuntimeFlags Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
RuntimeFlagsPatch Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
STM Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Schedule Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ScheduleDecision Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ScheduleInterval Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ScheduleIntervals Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Scheduler Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Schema Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
SchemaAST Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Scope Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ScopedCache Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
ScopedRef Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Secret Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
SingleProducerAsyncInput Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Sink Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
SortedMap Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
SortedSet Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Stream Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
StreamEmit Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
StreamHaltStrategy Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Streamable Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
String Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Struct Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Subscribable Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
SubscriptionRef Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Supervisor Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Symbol Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
SynchronizedRef Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TArray Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TDeferred Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TMap Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TPriorityQueue Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TPubSub Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TQueue Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TRandom Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TReentrantLock Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TRef Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TSemaphore Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TSet Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TSubscriptionRef Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Take Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TestAnnotation Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TestAnnotationMap Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TestAnnotations Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TestClock Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TestConfig Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TestContext Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TestLive Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TestServices Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
TestSized Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Tracer Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Trie Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Tuple Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Types Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Unify Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
UpstreamPullRequest Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
UpstreamPullStrategy Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
Utils Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
index Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
src Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
LICENSE Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
README.md Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago
package.json Merge remote main into local — keep all agent feature files and Angular UI changes 4 months ago

README.md

effect Core Package

The effect package is the heart of the Effect framework, providing robust primitives for managing side effects, ensuring type safety, and supporting concurrency in your TypeScript applications.

Requirements

  • TypeScript 5.4 or Newer: Ensure you are using a compatible TypeScript version.

  • Strict Type-Checking: The strict flag must be enabled in your tsconfig.json. For example:

    {
      "compilerOptions": {
        "strict": true
        // ...other options
      }
    }
    

Installation

Install the core package using your preferred package manager. For example, with npm:

npm install effect

Documentation

Overview of Effect Modules

The effect package provides a collection of modules designed for functional programming in TypeScript. Below is a brief overview of the core modules:

Module Description
Effect The core abstraction for managing side effects, concurrency, and error handling in a structured way.
Context A lightweight dependency injection mechanism that enables passing services through computations without direct references.
Layer A system for managing dependencies, allowing for modular and composable resource allocation.
Fiber Lightweight virtual threads with resource-safe cancellation capabilities, enabling many features in Effect.
Stream A powerful abstraction for handling asynchronous, event-driven data processing.
Schedule A module for defining retry and repeat policies with composable schedules.
Scope Manages the lifecycle of resources, ensuring proper acquisition and release.
Schema A powerful library for defining, validating, and transforming structured data with type-safe encoding and decoding.

For a comparison between effect/Schema and zod, see Schema vs Zod.