Skip to content

vue-mvvm / core / DelegateCallback

DelegateCallback()<Arguments> ​

ts
type DelegateCallback<Arguments> = (...args) => void | Promise<void>;

Represents a callback function that can handle arguments of a specific type and optionally return a Promise for asynchronous execution.

Type Parameters ​

Arguments ​

Arguments extends any[]

Parameters ​

args ​

...Arguments

Returns ​

void | Promise<void>