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