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

Value members

Abstract methods

def execute[R : JavaTypeTag](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.

Type parameters

R

return type.

Value parameters

activityName

name of an activity type to execute.

args

arguments of the activity.

Attributes

Returns

an activity result.

def executeAsync[R : JavaTypeTag](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.

Type parameters

R

return type.

Value parameters

activityName

name of an activity type to execute.

args

arguments of the activity.

Attributes

Returns

Promise to the activity result.

def toJava: ActivityStub