set_template_async


Description:

public async bool set_template_async (ulong attr_type, Attributes attrs, Cancellable? cancellable) throws Error

Set an attribute template on the object.

The attr_type must be for an attribute which contains a template.

If the attrs Attributes is floating, it is consumed.

This call will return immediately and complete asynchronously.

Parameters:

this

The object to set an attribute template on.

attr_type

The attribute template type.

attrs

The attribute template.

cancellable

Optional cancellation object, or null.

callback

Called when the operation completes.

user_data

Data to be passed to the callback.