Method: Discordrb::WebSocket#thread

Defined in:
lib/discordrb/websocket.rb

#threadThread

Returns the internal WSCS thread.

Returns:

  • (Thread)

    the internal WSCS thread



58
59
60
# File 'lib/discordrb/websocket.rb', line 58

def thread
  @client.thread
end