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