We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 417012b commit 96c9d7aCopy full SHA for 96c9d7a
lib/ld-eventsource/client.rb
@@ -99,6 +99,9 @@ class Client
99
# @param http_client_options [Hash] (nil) additional options to pass to
100
# the HTTP client, such as `socket_factory` or `proxy`. These settings will override
101
# 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
105
# @yieldparam [Client] client the new client instance, before opening the connection
106
#
107
def initialize(uri,
0 commit comments