Untyped

zio.temporal.activity.ZActivityStub$.Untyped
sealed trait Untyped

An untyped version of ZActivityStub

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def execute[R : ClassTag](activityName: String, args: Any*): R

Executes an activity by its type name and arguments. Blocks until the activity completion.

Executes an activity by its type name and arguments. Blocks until the activity completion.

Attributes

R

return type.

activityName

name of an activity type to execute.

args

arguments of the activity.

Returns:

an activity result.

def executeAsync[R : ClassTag](activityName: String, args: Any*): ZAsync[R]

Executes an activity asynchronously by its type name and arguments.

Executes an activity asynchronously by its type name and arguments.

Attributes

R

return type.

activityName

name of an activity type to execute.

args

arguments of the activity.

Returns:

Promise to the activity result.

def toJava: ActivityStub