Connection.connectAsync()

DESCRIPTION

Establish this connection asynchronously.

The specified AsyncStatusReceiver closure is invoked with an error if an error occurs, see the connect() function for details about error codes.

DECLARATION

    public func connectAsync(closure: @escaping AsyncStatusReceiver) 

PARAMETERS

closure:
Invoked when the connect attempt succeeds or fails.

ERRORS

Throws the following errors:

None.

RETURN VALUES

None.

EXAMPLES

None.