Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
});

...