eo-typewriterjs / TCallbackFn
Type Alias: TCallbackFn
ts
type TCallbackFn = (context) => void | Promise<void>;Defined in: core/commands/types/callback-hook.type.ts:47
Parameters
| Parameter | Type |
|---|---|
context | TCallbackContext |
Returns
void | Promise<void>
Description
Callback function signature - may return a promise for async support