effect-io-ai

Package: @effect/cli
Module: Prompt

Prompt.succeed

Creates a Prompt which immediately succeeds with the specified value.

NOTE: This method will not attempt to obtain user input or render anything to the screen.

Signature

declare const succeed: <A>(value: A) => Prompt<A>

Source

Since v1.0.0