A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://socketry.github.io/async-redis/source/Async/Redis/Protocol/RESP2/Connection/index.html below:

Async::Redis::Protocol::RESP2::Connection

A connection implementation for RESP2 protocol.

Definitions def concurrency

Get the concurrency level for this connection.

Signature
returns Integer

The concurrency level (1 for RESP2).

Implementation
def concurrency
	1
end
def viable?

Check if the connection is viable for use.

Signature
returns Boolean

True if the stream is readable.

Implementation
def viable?
	@stream.readable?
end
def reusable?

Check if the connection can be reused.

Signature
returns Boolean

True if the stream is not closed.

Implementation
def reusable?
	!@stream.closed?
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4