RunHyperlinkLayerEffect<I, A, E, R>export type type RunHyperlinkLayerEffect<I, A, E, R> =
[I] extends [void]
?
| Effect.Effect<A, E, R>
| (() => Effect.Effect<A, E, R>)
: (input: I) => Effect.Effect<A, E, R>
RunHyperlinkLayerEffect<function (type parameter) I in type RunHyperlinkLayerEffect<I, A, E, R>I, function (type parameter) A in type RunHyperlinkLayerEffect<I, A, E, R>A, function (type parameter) E in type RunHyperlinkLayerEffect<I, A, E, R>E, function (type parameter) R in type RunHyperlinkLayerEffect<I, A, E, R>R> = [function (type parameter) I in type RunHyperlinkLayerEffect<I, A, E, R>I] extends [void]
? import EffectEffect.interface Effect<out A, out E = never, out R = never>The Effect interface defines a value that lazily describes a workflow or
job. The workflow requires some context R, and may fail with an error of
type E, or succeed with a value of type A.
When to use
Use when you need to represent a lazy, composable workflow that can require
services, fail with a typed error, or succeed with a typed value.
Details
Effect values model resourceful interaction with the outside world,
including synchronous, asynchronous, concurrent, and parallel interaction.
They use a fiber-based concurrency model, with built-in support for
scheduling, fine-grained interruption, structured concurrency, and high
scalability.
To run an Effect value, you need a Runtime, which is a type that is
capable of executing Effect values.
Effect<function (type parameter) A in type RunHyperlinkLayerEffect<I, A, E, R>A, function (type parameter) E in type RunHyperlinkLayerEffect<I, A, E, R>E, function (type parameter) R in type RunHyperlinkLayerEffect<I, A, E, R>R> | (() => import EffectEffect.interface Effect<out A, out E = never, out R = never>The Effect interface defines a value that lazily describes a workflow or
job. The workflow requires some context R, and may fail with an error of
type E, or succeed with a value of type A.
When to use
Use when you need to represent a lazy, composable workflow that can require
services, fail with a typed error, or succeed with a typed value.
Details
Effect values model resourceful interaction with the outside world,
including synchronous, asynchronous, concurrent, and parallel interaction.
They use a fiber-based concurrency model, with built-in support for
scheduling, fine-grained interruption, structured concurrency, and high
scalability.
To run an Effect value, you need a Runtime, which is a type that is
capable of executing Effect values.
Effect<function (type parameter) A in type RunHyperlinkLayerEffect<I, A, E, R>A, function (type parameter) E in type RunHyperlinkLayerEffect<I, A, E, R>E, function (type parameter) R in type RunHyperlinkLayerEffect<I, A, E, R>R>)
: (input: Iinput: function (type parameter) I in type RunHyperlinkLayerEffect<I, A, E, R>I) => import EffectEffect.interface Effect<out A, out E = never, out R = never>The Effect interface defines a value that lazily describes a workflow or
job. The workflow requires some context R, and may fail with an error of
type E, or succeed with a value of type A.
When to use
Use when you need to represent a lazy, composable workflow that can require
services, fail with a typed error, or succeed with a typed value.
Details
Effect values model resourceful interaction with the outside world,
including synchronous, asynchronous, concurrent, and parallel interaction.
They use a fiber-based concurrency model, with built-in support for
scheduling, fine-grained interruption, structured concurrency, and high
scalability.
To run an Effect value, you need a Runtime, which is a type that is
capable of executing Effect values.
Effect<function (type parameter) A in type RunHyperlinkLayerEffect<I, A, E, R>A, function (type parameter) E in type RunHyperlinkLayerEffect<I, A, E, R>E, function (type parameter) R in type RunHyperlinkLayerEffect<I, A, E, R>R>;