Future


Object Hierarchy:

Gee.Future Gee.Future Gee.Future GLib.Object GLib.Object GLib.Object->Gee.Future

Description:


[ GenericAccessors ]
public interface Future<G> : Object

Future is a value which might not yet be computed - for example it is calculated in different thread or depends on I/O value.

All methods can be called from many threads as part of interface.

Note:

Statement that call does not block does not mean that it is lock-free. Internally the implementation is allowed to take mutex but it should guarantee that it is not for a long time (including blocking on anything else, I/O calls or callbacks).

Since:

0.11.0

See also:

Promise, Lazy, task, async_task


Namespace: Gee
Package: gee-0.8

Content:

Properties:

Delegates:

Methods:

Inherited Members: