Promise
constructor
ref_
count
name
get_
future
set_
exception
set_
value
new
GJS API Reference
Gee-0.8
Gee
Promise
Class Promise
Hierarchy
Promise
Index
Constructors
constructor
Properties
ref_
count
name
Methods
get_
future
set_
exception
set_
value
new
Constructors
constructor
new
Promise
(
g_type
:
GType
<
unknown
>
, g_dup_func
:
BoxedCopyFunc
, g_destroy_func
:
GLib
.
DestroyNotify
)
:
Gee
.
Promise
Parameters
g_type:
GType
<
unknown
>
g_dup_func:
BoxedCopyFunc
g_destroy_func:
GLib
.
DestroyNotify
Returns
Gee
.
Promise
Properties
ref_
count
ref_
count
:
number
Static
name
name
:
string
Methods
get_
future
get_
future
(
)
:
Gee
.
Future
Returns
Gee
.
Future
set_
exception
set_
exception
(
exception
:
GLib
.
Error
)
:
void
Parameters
exception:
GLib
.
Error
Returns
void
set_
value
set_
value
(
value
:
object
)
:
void
Parameters
value:
object
Returns
void
Static
new
new
(
g_type
:
GType
<
unknown
>
, g_dup_func
:
BoxedCopyFunc
, g_destroy_func
:
GLib
.
DestroyNotify
)
:
Gee
.
Promise
Parameters
g_type:
GType
<
unknown
>
g_dup_func:
BoxedCopyFunc
g_destroy_func:
GLib
.
DestroyNotify
Returns
Gee
.
Promise
Promise
constructor
ref_
count
name
get_
future
set_
exception
set_
value
new
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHZWVfMF84LkdlZS5Qcm9taXNlLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHZWVfMF84LkdlZS5Qcm9taXNlLmh0bWwjcmVmX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