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

TestSized.ts overview

Since v2.0.0


Exports Grouped by Category


utils

TestSized

Signature

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

Source

Since 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>
}

Source

Since v2.0.0

TestSizedTypeId

Signature

declare const TestSizedTypeId: unique symbol

Source

Since v2.0.0

TestSizedTypeId (type alias)

Signature

type TestSizedTypeId = typeof TestSizedTypeId

Source

Since v2.0.0

fromFiberRef

Signature

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

Source

Since v2.0.0

make

Signature

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

Source

Since v2.0.0