Method: Discordrb::WebSocket#thread

Defined in:
lib/discordrb/websocket.rb

#threadThread

Returns the internal WSCS thread.

Returns:

  • (Thread)

    the internal WSCS thread



68
69
70
# File 'lib/discordrb/websocket.rb', line 68

def thread
  @client.thread
end