Hoshimi
NPM
GuideAPI
Hoshimi
NPM
Guide
API

NodeDestroyInfo

The interface of the node destroy object.

API/Interfaces/NodeDestroyInfo
hoshimi/src/types/Node.d.ts

Signature

export interface NodeDestroyInfo

Properties

2
codereason

Methods

0

No methods.

Properties

code#
code?: WebsocketCloseCodes | number;

The code for the destroy.

@type{WebsocketCloseCodes | undefined | number}
reason#
reason?: NodeDestroyReasons | string;

The reason for the destroy.

@type{NodeDestroyReasons | undefined | string}