...
This is a list of the possible websocket events that may be emitted by the SDK; for example:
Code Block |
---|
const { Sockets } = require("@deeplocal/gumband-node-sdk");
gb.on(Sockets.CONTROL_RECEIVED, (payload) => {
//code reached when the SDK emits a Sockets.CONTROL_RECEIVED event
}); |
...