zio.temporal.workflow

Members list

Type members

Classlikes

trait ExtendsWorkflow[A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ExtendsWorkflow.type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait IsConcreteClass[A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object IsConcreteClass.type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait IsWorkflow[A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
IsWorkflow.type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object IsWorkflow.type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait ZAsync[+A]

Contains result of an asynchronous computation. Similar to zio.IO with the following differences:

Contains result of an asynchronous computation. Similar to zio.IO with the following differences:

  1. Can be used only inside a Temporal workflow code. Use zio.ZIO and its derivatives to implement activities and workflow starting and querying code. run method doesn't throw InterruptedException. The only way to unblock run is to complete the ZAsync

  2. ZAsync doesn't directly supports cancellation. Use io.temporal.workflow.CancellationScope to cancel and handle cancellations. The pattern is that a canceled operation completes its ZAsync with io.temporal.failure.CanceledFailure when canceled.

  3. Unlike zio.IO (that is '''lazy'''), ZAsync is '''strict'''. Whenever a ZAsync is created, The thunk is immediately started

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
ZAsync[A]
object ZAsync

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
ZAsync.type
final class ZCancellationScope

Handle to a cancellation scope created through ZWorkflow.newCancellationScope or ZWorkflow.newDetachedCancellationScope. Supports explicit cancelling of the code a cancellation scope wraps. The code in the CancellationScope has to be executed using run method.

Handle to a cancellation scope created through ZWorkflow.newCancellationScope or ZWorkflow.newDetachedCancellationScope. Supports explicit cancelling of the code a cancellation scope wraps. The code in the CancellationScope has to be executed using run method.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ZChildWorkflowStub.type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait ZChildWorkflowStub extends BasicStubOps

Represents untyped child workflow stub

Represents untyped child workflow stub

Attributes

See also

ChildWorkflowStub

Companion
object
Supertypes
trait BasicStubOps
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
final class ZChildWorkflowStubImpl(val toJava: ChildWorkflowStub, val stubbedClass: Class[_]) extends ZChildWorkflowStub

Attributes

Supertypes
trait BasicStubOps
class Object
trait Matchable
class Any
sealed trait ZExternalWorkflowStub extends BasicStubOps

Represents untyped external workflow stub

Represents untyped external workflow stub

Attributes

See also

ExternalWorkflowStub

Companion
object
Supertypes
trait BasicStubOps
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
final class ZExternalWorkflowStubImpl(val toJava: ExternalWorkflowStub, val stubbedClass: Class[_]) extends ZExternalWorkflowStub

Attributes

Supertypes
trait BasicStubOps
class Object
trait Matchable
class Any
sealed trait ZSaga[+A]

Implements the logic to execute compensation operations that is often required in Saga applications. The following is a skeleton to show of how it is supposed to be used in workflow code:

Implements the logic to execute compensation operations that is often required in Saga applications. The following is a skeleton to show of how it is supposed to be used in workflow code:

Type parameters

A

value type

Attributes

See also
Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
ZSaga[A]
object ZSaga

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ZWorkflow.type
final class ZWorkflowClient

Represents temporal workflow client

Represents temporal workflow client

Attributes

See also

WorkflowClient

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Represents temporal workflow client options

Represents temporal workflow client options

Attributes

See also

WorkflowClientOptions

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
object
Supertypes
trait BasicStubOps
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
class ZWorkflowContinueAsNewStubBuilder[A](configure: Builder => Builder)(implicit evidence$1: ClassTag[A], evidence$2: IsWorkflow[A])

Attributes

Supertypes
class Object
trait Matchable
class Any
class ZWorkflowContinueAsNewStubImpl(val workflowType: String, val options: ContinueAsNewOptions, val stubbedClass: Class[_]) extends ZWorkflowContinueAsNewStub

Attributes

Supertypes
trait BasicStubOps
class Object
trait Matchable
class Any

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ZWorkflowStub.type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
final class ZWorkflowServiceStubs

Initializes and holds gRPC blocking and future stubs.

Initializes and holds gRPC blocking and future stubs.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Represents temporal workflow service stubs options

Represents temporal workflow service stubs options

Attributes

See also

WorkflowServiceStubsOptions

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
object
Supertypes
trait BasicStubOps
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Show all
Self type
final class ZWorkflowStubBuilder[Res]

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
final class ZWorkflowStubImpl(val toJava: WorkflowStub, val stubbedClass: Class[_]) extends ZWorkflowStub

Represents untyped workflow stub

Represents untyped workflow stub

Attributes

See also

WorkflowStub

Supertypes
trait BasicStubOps
class Object
trait Matchable
class Any
Show all
Self type