Skip to content

TestSized

6 exports Added in v2.0.0 Source

Other

fromFiberRef

Added in v2.0.0 Source

Signature

declare function fromFiberRef(fiberRef: FiberRef<number>): TestSized;

make

Added in v2.0.0 Source

Signature

declare function make(size: number): TestSized;

TestSized

Added in v2.0.0 Source

Signature

declare const TestSized: Tag<TestSized, TestSized>;

TestSized interface

Added in v2.0.0 Source

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;

TestSizedTypeId type

Added in v2.0.0 Source

Signature

type TestSizedTypeId = typeof TestSizedTypeId;