WorkResult

spice.util.WorkResult
See theWorkResult companion trait
object WorkResult

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
WorkResult.type

Members list

Type members

Classlikes

case class FinalResult[Result](result: Result) extends WorkResult[Result]

The final result. The work if finished.

The final result. The work if finished.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait WorkResult[Result]
class Object
trait Matchable
class Any
Show all
case class ProgressiveResult[Result](result: Result, complete: IO[Result]) extends WorkResult[Result]

The intermediate result. The work is partially completed, but more work needs to be done before it's fully complete. The complete will be asynchronously executed to finish the partially completed work.

The intermediate result. The work is partially completed, but more work needs to be done before it's fully complete. The complete will be asynchronously executed to finish the partially completed work.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait WorkResult[Result]
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror