@sagentic-ai/sagentic-af / otherwise
otherwise() ​
ts
otherwise<S, This, Args, Return>(target, context): (this, ...args) => Return
Decorator for defining the default reaction to unstructured messages.
Type parameters ​
• S
• This
• Args extends [S
, string
]
• Return
Parameters ​
• target
• context: ClassMethodDecoratorContext
<This
, (this
, ...args
) => Return
>
Returns ​
Function
Parameters ​
• this:
This
• ...args:
Args
Returns ​
Return