find_enclosing_mount_async
Description:
public virtual async Mount find_enclosing_mount_async (int io_priority = DEFAULT, Cancellable? cancellable = null) throws Error
  
  Asynchronously gets the mount for the file.
For more details, see find_enclosing_mount which is the synchronous version of this call.
When the operation is finished, callback will be called. You can then call 
        find_enclosing_mount_async.end to get the result of the operation.
Example: Find enclosing mount, async:
public static int main (string[] args) {
	File file = File.new_for_commandline_arg (args[0]);
	MainLoop loop = new MainLoop ();
	file.find_enclosing_mount_async.begin (Priority.DEFAULT, null, (obj, res) => {
		try {
			Mount mount = file.find_enclosing_mount_async.end (res);
			print ("%s\n", mount.get_name ());
		} catch (Error e) {
			print ("Error: %s\n", e.message);
		}
		loop.quit ();
	});
	loop.run ();
	return 0;
}
    
    valac --pkg gio-2.0 GLib.File.find_enclosing_mount_async.vala
    Parameters:
| this | 
           a File  | 
      
| io_priority | 
           the I/O priority of the request  | 
      
| cancellable | 
           optional Cancellable object, null to ignore  | 
      
| callback | 
           a TaskReadyCallback to call when the request is satisfied  | 
      
| user_data | 
           the data to pass to callback function  |