subscribe
plugin.executionGateway.subscribe(): Promise<ExecutionGatewayResponse>
Subscribe to execution notifications. Notifications are broadcast whenever the server handles a message locally.
Parameters
No parameters.
Returns
Promise<ExecutionGatewayResponse>
Example
import plugin from '@codebolt/plugin-sdk';
const result = await plugin.executionGateway.subscribe();
console.log(result);