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

TestSized

6 exports Since v2.0.0 Source

Other

Signature

declare function fromFiberRef(fiberRef: FiberRef<number>): TestSized
Since v2.0.0

Signature

declare function make(size: number): TestSized

Signature

declare const TestSized: Tag<TestSized, TestSized>

TestSized

interface
Since v2.0.0

Signature

interface TestSized {
readonly [TestSizedTypeId]: typeof TestSizedTypeId;
readonly fiberRef: FiberRef<number>;
readonly size: Effect<number>;
withSize(size: number): <A, E, R>(effect: Effect<A, E, R>) => Effect<A, E, R>;
}

Signature

declare const TestSizedTypeId: unique symbol
Since v2.0.0

Signature

type TestSizedTypeId = typeof TestSizedTypeId