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