type CustomActionFunction = (...args) => any | Promise<any>;
A generic action function type for custom actions. Supports both synchronous and asynchronous implementations with flexible parameters.
Parameters#
Parameter | Type | Description |
---|---|---|
…args | any [] | Variable number of arguments of any type |
Returns#
any
| Promise
<any
>
Any value or a promise that resolves to any value