Skip to content

适配器声明的可释放资源,随适配器关闭一并清理

Properties ​

bot_id? ​

readonly optional bot_id?: string


gateway? ​

readonly optional gateway?: string


name ​

readonly name: string


scope ​

readonly scope: AdapterResourceScope

Methods ​

dispose() ​

dispose(reason?): void | Promise<void>

Parameters ​

reason? ​

string

Returns ​

void | Promise<void>

Released under the MIT License with love.