Skip to content

适配器实例:start 时建立连接并注册资源,stop 时释放

Properties ​

impl? ​

readonly optional impl?: object

底层实现库

name ​

readonly name: string

version? ​

readonly optional version?: string


name ​

readonly name: string


version ​

readonly version: string

Methods ​

start() ​

start(context): void | Promise<void>

Parameters ​

context ​

AdapterContext

Returns ​

void | Promise<void>


stop() ​

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

Parameters ​

reason? ​

string

Returns ​

void | Promise<void>

Released under the MIT License with love.