Connection.closeAsync()

DESCRIPTION

Close this connection asynchronously.

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

DECLARATION

    public func closeAsync(closure: @escaping AsyncStatusReceiver) 

PARAMETERS

closure:
Invoked when the connect attempt succeeds or fails.

ERRORS

Throws the following errors:

None.

RETURN VALUES

None.

EXAMPLES

None.