Skip to main content Link Search Menu Expand Document (external link)

TestSized overview

Added in v2.0.0


Table of contents


utils

TestSized

Signature

export declare const TestSized: Context.Tag<TestSized, TestSized>

Added in v2.0.0

TestSized (interface)

Signature

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

Added in v2.0.0

TestSizedTypeId

Signature

export declare const TestSizedTypeId: typeof TestSizedTypeId

Added in v2.0.0

TestSizedTypeId (type alias)

Signature

export type TestSizedTypeId = typeof TestSizedTypeId

Added in v2.0.0

fromFiberRef

Signature

export declare const fromFiberRef: (fiberRef: FiberRef.FiberRef<number>) => TestSized

Added in v2.0.0

make

Signature

export declare const make: (size: number) => TestSized

Added in v2.0.0