wait


Description:

public PromiseResult wait ()

Wait for this to move out of the PENDING state.

If this is not in PENDING then it will return immediately with the current result.

Parameters:

this

a Promise

Returns:

the result of the promise




2022 vala-language.org