tryResolve

Tries to resolve the address in Kameloso.parser.server to IPs, by leveraging resolveFiber, reacting on the ResolveAttempts it yields to provide feedback to the user.

private
tryResolve

Parameters

instance Kameloso

The current Kameloso instance.

firstConnect bool

Whether or not this is the first time we're attempting a connection.

Return Value

Type: auto

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