unregisterChannel
plugin.gateway.unregisterChannel(): Promise<void>
Unregister this plugin's channel from the ChannelStore. Should be called during plugin shutdown.
Parameters
No parameters.
Returns
Promise<void>
Example
import plugin from '@codebolt/plugin-sdk';
const result = await plugin.gateway.unregisterChannel();
console.log(result);