tryConnect

Tries to connect to the IPs in Kameloso.conn.ips by leveraging connectFiber, reacting on the ConnectionAttempts it yields to provide feedback to the user.

private
tryConnect

Parameters

instance Kameloso

The current Kameloso instance.

Return Value

Type: auto

Next.continue_ if connection succeeded, Next.returnFailure if connection failed and the program should exit.