all
static Connection all(Connection... connections)
Combines several connections so they can be disconnected together.
me.tamkungz.signals.connection.Connection
Handle for a registered listener or bus registration.
<p>
{@link #disconnect()} is idempotent: calling it more than once is safe.
public interface Connection
static Connection all(Connection... connections)
Combines several connections so they can be disconnected together.
static Connection disconnected()
Returns a connection that is already disconnected.
void disconnect()
Stops this connection from receiving further values.
boolean isConnected()
Tells whether this connection is still active.
default void close()
Alias of {@link #disconnect()}.