lib/grumlin/client.rb in grumlin-0.6.1 vs lib/grumlin/client.rb in grumlin-0.6.2

- old
+ new

@@ -24,9 +24,17 @@ end def write(*args) @client.write(*args) end + + def viable? + !closed? + end + + def reusable? + !closed? + end end def initialize(url, parent: Async::Task.current, **client_options) @url = url @client_options = client_options