Skip to main content

Interface: QueryDefinition<_Ret, _Args>

common.QueryDefinition

An interface representing a Workflow query definition as returned from defineQuery

Remarks

_Args and _Ret can be used for parameter type inference in handler functions and *WorkflowHandle methods.

Type parameters

NameType
_Ret_Ret
_Argsextends any[] = []

Properties

name

name: string


type

type: "query"