Skip to content

eo-typewriterjs


eo-typewriterjs / TCallbackFn

Type Alias: TCallbackFn

ts
type TCallbackFn = (context) => void | Promise<void>;

Defined in: core/commands/types/callback-hook.type.ts:47

Parameters

ParameterType
contextTCallbackContext

Returns

void | Promise<void>

Description

Callback function signature - may return a promise for async support

Released under the MIT License.