Skip to content

Commit 96c9d7a

Browse files
refactor: add comment
1 parent 417012b commit 96c9d7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ld-eventsource/client.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ class Client
9999
# @param http_client_options [Hash] (nil) additional options to pass to
100100
# the HTTP client, such as `socket_factory` or `proxy`. These settings will override
101101
# the socket factory and proxy settings.
102+
# @param async [Boolean] (true) whether to run the stream in a separate thread
103+
# if true, the stream will be run in a separate thread
104+
# if false, the stream will be run in the current thread
102105
# @yieldparam [Client] client the new client instance, before opening the connection
103106
#
104107
def initialize(uri,

0 commit comments

Comments
 (0)