ZWorkflowClient

zio.temporal.workflow.ZWorkflowClient
See theZWorkflowClient companion object
final class ZWorkflowClient

Represents temporal workflow client

Attributes

See also:

WorkflowClient

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def listExecutions(query: Option[String]): Task[Vector[ZWorkflowExecutionMetadata]]

TODO: should it use zio.stream?

TODO: should it use zio.stream?

Attributes

See also:

WorkflowClient.listExecutions

def newActivityCompletionClient: UIO[ActivityCompletionClient]

Creates new ActivityCompletionClient

Creates new ActivityCompletionClient

Attributes

See also:

ActivityCompletionClient

def newUntypedWorkflowStub(workflowType: String): Untyped

Creates new untyped type workflow stub builder

Creates new untyped type workflow stub builder

Attributes

workflowType

name of the workflow type

Returns:

builder instance

def newUntypedWorkflowStub(workflowId: String, runId: Option[String]): UIO[Untyped]

Creates new typed workflow stub builder

Creates new typed workflow stub builder

Attributes

A

workflow interface

Returns:

builder instance

def newWorkflowStub[A : IsWorkflow](workflowId: String, runId: Option[String]): UIO[Of[A]]

Concrete fields

val toJava: WorkflowClient