SimpleAsyncResult.from_error


Description:

public SimpleAsyncResult.from_error (Object? source_object, Error error)

Creates a SimpleAsyncResult from an error condition.

Parameters:

source_object

a Object, or null.

error

a Error

callback

a AsyncReadyCallback.

user_data

user data passed to callback.

Returns:

a SimpleAsyncResult.