Method: MatrixSdk::Client#start_listener_thread
- Defined in:
- lib/matrix_sdk/client.rb
#start_listener_thread(**params) ⇒ Object
244 245 246 247 248 249 |
# File 'lib/matrix_sdk/client.rb', line 244 def start_listener_thread(**params) @should_listen = true thread = Thread.new { listen_forever(params) } @sync_thread = thread thread.run end |