Utils / Controller / useNodeStatus
Function: useNodeStatus()
ts
function useNodeStatus(node): object;Node status helper: the text is followed by the time of the event, the fill is the one of the method.
Parameters
| Parameter | Type |
|---|---|
|
|
Returns
object
| Name | Type |
|---|---|
| ( |
| () => |
| ( |
| ( |
Example
ts
const status = useNodeStatus(node);
status.success('Success'); // green "Success at 1/2/2026, 10:00:00 AM"
status.error('Invalid URL');
status.reset();