Search
Loading...
Skip to content

Type Alias: CustomActionFunction

type CustomActionFunction = (...args) => any | Promise<any>;

A generic action function type for custom actions. Supports both synchronous and asynchronous implementations with flexible parameters.

Parameters#

ParameterTypeDescription
argsany[]Variable number of arguments of any type

Returns#

any | Promise<any>

Any value or a promise that resolves to any value