Skip to main content

query

Attribute Macro query 

Source
#[query]
Expand description

Marks a method within a #[workflow_methods] impl block as a query handler. This attribute is processed by the #[workflow_methods] macro and should not be used standalone.

Supports an optional name parameter to override the query name: #[query(name = "my_query")]