Skip to content
Effect Days 2026 Get your ticket

Effectable

14 exports Added in v2.0.0 Source

Constructors

Class

Added in v2.0.0 Source

Signature

declare class Class<A, E = never, R = never> extends Base<A, E, R> {
constructor<A, E = never, R = never>();
abstract commit(): Effect<A, E, R>;
}

Signature

declare class StructuralClass<A, E = never, R = never> extends StructuralBase<A, E, R> {
constructor<A, E = never, R = never>();
abstract commit(): Effect<A, E, R>;
}

Models

CommitPrimitive interface

Added in v2.0.0 Source

Signature

interface CommitPrimitive {
constructor<A, E = never, R = never>();
}

Prototypes

Signature

declare const CommitPrototype: Effect.Effect<never>

Signature

declare const EffectPrototype: Effect.Effect<never>

Signature

declare const StructuralCommitPrototype: Effect.Effect<never>

Type Ids

Signature

declare const ChannelTypeId: Channel.ChannelTypeId

ChannelTypeId type

Added in v2.0.0 Source

Signature

type ChannelTypeId = Channel.ChannelTypeId

EffectTypeId

Added in v2.0.0 Source

Signature

declare const EffectTypeId: Effect.EffectTypeId

EffectTypeId type

Added in v2.0.0 Source

Signature

type EffectTypeId = Effect.EffectTypeId

SinkTypeId

Added in v2.0.0 Source

Signature

declare const SinkTypeId: Sink.SinkTypeId

SinkTypeId type

Added in v2.0.0 Source

Signature

type SinkTypeId = Sink.SinkTypeId

StreamTypeId

Added in v2.0.0 Source

Signature

declare const StreamTypeId: Stream.StreamTypeId

StreamTypeId type

Added in v2.0.0 Source

Signature

type StreamTypeId = Stream.StreamTypeId