ZWorkflowServiceStubs

zio.temporal.workflow.ZWorkflowServiceStubs
See theZWorkflowServiceStubs companion object
final class ZWorkflowServiceStubs

Initializes and holds gRPC blocking and future stubs.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def awaitTermination(options: ZAwaitTerminationOptions): UIO[Unit]

Awaits for gRPC stubs shutdown up to the specified timeout.

Awaits for gRPC stubs shutdown up to the specified timeout.

The shutdown has to be initiated through shutdown or shutdownNow.

Value parameters

options

await options with polling interval and poll delay

Attributes

def setup(options: ZAwaitTerminationOptions): URIO[Scope, Unit]

Allows to setup ZWorkflowServiceStubs with guaranteed finalization.

Allows to setup ZWorkflowServiceStubs with guaranteed finalization.

Attributes

def shutdown: UIO[Unit]

Shutdowns client asynchronously allowing existing gRPC calls to finish

Shutdowns client asynchronously allowing existing gRPC calls to finish

Attributes

def shutdownNow: UIO[Unit]

Shutdowns client immediately cancelling existing gRPC calls

Shutdowns client immediately cancelling existing gRPC calls

Attributes

Concrete fields

val toJava: WorkflowServiceStubs