OutputFactory
These factory methods should be the only way to create Output instances in user code.
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
object Output.type
Members list
Value members
Concrete methods
Creates an Output
with the given value
Creates an Output
with the given value
Attributes
- See also
-
secret for creating an
Output
with a secret value
Creates an Output
that evaluates given effectful computation.
Creates an Output
that evaluates given effectful computation.
The type F[_]
is constrained to types for which an instance of Result.ToFuture
is defined.
Besom offers the following instances:
besom-core
provides aToFuture
instance forscala.concurrent.Future
besom-zio
provides aToFuture
instance forzio.Task
besom-cats
provides aToFuture
instance forcats.effect.IO
Type parameters
- A
-
the type of the value
- F
-
the effect type
Value parameters
- value
-
the value to wrap in an
Output
Attributes
Creates an Output
that is known to be a secret
Creates an Output
that is known to be a secret
Attributes
Creates an Output
of a collection from a collection of Outputs.
Creates an Output
of a collection from a collection of Outputs.
Attributes
- See also
-
parSequence for parallel execution
Creates an Output
of a collection from a collection of values mapped with the function f
Creates an Output
of a collection from a collection of values mapped with the function f
Value parameters
- coll
-
the collection to map with
f
- f
-
the Output-returning function to apply to each element in the collection
Attributes
Creates an Output
that contains Unit
Creates an Output
that contains Unit
Attributes
Creates an Output
with the given a
if the given condition
is true
or returns None
if the condition is false
Creates an Output
with the given a
if the given condition
is true
or returns None
if the condition is false