[ CCode ( has_construct_function = false ) ]
public SimpleAsyncResult.from_error (Object? source_object, Error error)
Creates a SimpleAsyncResult from an error condition.
Use Task and return_error instead.
source_object |
a Object, or null. |
error |
a Error |
callback | |
user_data |
user data passed to |