Share via


ResultFuture Klass

Resultatet av en asynkron åtgärd.

privat konstruktor

Arv
builtins.object
ResultFuture

Konstruktor

ResultFuture(async_handle, get_function: Callable[[c_void_p], c_void_p], wrapped_type)

Parametrar

Name Description
async_handle
Obligatorisk
get_function
Obligatorisk
wrapped_type
Obligatorisk

Metoder

get

Väntar tills resultatet är tillgängligt och returnerar det.

get

Väntar tills resultatet är tillgängligt och returnerar det.

get()