Effect<Value>.value constructor

const Effect<Value>.value(
  1. Value value
)

Emits value synchronously when the effect is run. This is useful for sending immediate feedback without scheduling asynchronous work.

Example:

final effect = Effect.value("Hello");

Implementation

const factory Effect.value(Value value) = ValueEffect<Value>;