Thanks to visit codestin.com
Credit goes to effect-ts.github.io

Skip to main content Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

Etag.ts overview

Since v1.0.0


Exports Grouped by Category


convertions

toString

Signature

declare const toString: (self: Etag) => string

Source

Since v1.0.0

layers

layer

Signature

declare const layer: Layer<Generator, never, never>

Source

Since v1.0.0

layerWeak

Signature

declare const layerWeak: Layer<Generator, never, never>

Source

Since v1.0.0

models

Etag (type alias)

Signature

type Etag = Weak | Strong

Source

Since v1.0.0

Generator (interface)

Signature

export interface Generator {
  readonly [GeneratorTypeId]: GeneratorTypeId
  readonly fromFileInfo: (info: FileSystem.File.Info) => Effect.Effect<Etag>
  readonly fromFileWeb: (file: Body.HttpBody.FileLike) => Effect.Effect<Etag>
}

Source

Since v1.0.0

Strong (interface)

Signature

export interface Strong {
  readonly _tag: "Strong"
  readonly value: string
}

Source

Since v1.0.0

Weak (interface)

Signature

export interface Weak {
  readonly _tag: "Weak"
  readonly value: string
}

Source

Since v1.0.0

tags

Generator

Signature

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

Source

Since v1.0.0

type ids

GeneratorTypeId

Signature

declare const GeneratorTypeId: unique symbol

Source

Since v1.0.0

GeneratorTypeId (type alias)

Signature

type GeneratorTypeId = typeof GeneratorTypeId

Source

Since v1.0.0