Gee.Promise

g Gee.Promise Gee.Promise

Subclasses:

None

Methods

class

new (g_type, g_dup_func, g_destroy_func)

get_future ()

set_exception (exception)

set_value (value)

Virtual Methods

None

Fields

Name

Type

Access

Description

parent_instance

GObject.TypeInstance

r

ref_count

int

r

Class Details

class Gee.Promise
Abstract:

No

Structure:

Gee.PromiseClass

classmethod new(g_type, g_dup_func, g_destroy_func)
Parameters:
Return type:

Gee.Promise

get_future()
Return type:

Gee.Future

set_exception(exception)
Parameters:

exception (GLib.Error) –

set_value(value)
Parameters:

value (object or None) –