textmode.js / plugins / SetupLifecycleHook
Type Alias: SetupLifecycleHook()
ts
type SetupLifecycleHook = () => void | Promise<void>;Callback type for setup lifecycle hooks. Can be synchronous or return a Promise for async operations.
Returns
void | Promise<void>