Skip to content
Effect 4.0 is here. One ecosystem. Zero dependencies.

Effectable

14 exports Since v2.0.0 Source

Constructors

Since v2.0.0

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

Since v2.0.0

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
Since v2.0.0

Signature

type ChannelTypeId = Channel.ChannelTypeId

Signature

declare const EffectTypeId: Effect.EffectTypeId
Since v2.0.0

Signature

type EffectTypeId = Effect.EffectTypeId

Signature

declare const SinkTypeId: Sink.SinkTypeId
Since v2.0.0

Signature

type SinkTypeId = Sink.SinkTypeId

Signature

declare const StreamTypeId: Stream.StreamTypeId
Since v2.0.0

Signature

type StreamTypeId = Stream.StreamTypeId