Gio.SocketListener.prototype.accept_finish

function accept_finish(result: Gio.AsyncResult): [return_value: Gio.SocketConnection, source_object: GObject.Object] {
    // Gjs wrapper for g_socket_listener_accept_finish()
}
  

Finishes an async accept operation. See Gio.SocketListener.prototype.accept_async

Since 2.22

result

a Gio.AsyncResult.

return_value

a Gio.SocketConnection on success, null on error.

source_object

Optional GObject.Object identifying this source