zio.temporal.query.ZWorkflowStubQuerySyntax
See theZWorkflowStubQuerySyntax companion object
Attributes
- Companion
-
object
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Known subtypes
-
Members list
Queries the given workflow. Accepts the workflow query method invocation
Queries the given workflow. Accepts the workflow query method invocation
Example:
val stub: ZWorkflowStub.Of[T] = ???
val result: TemporalIO[R] = ZWorkflowStub.query(
stub.someQuery()
)
Type parameters
- R
-
query method result type
Value parameters
- f
-
the query method invocation
Attributes
- Returns
-
the query method result