content_deserialize_async
Description:
public async bool content_deserialize_async (InputStream stream, string mime_type, Type type, int io_priority, Cancellable? cancellable, out Value value) throws Error
Reads content from the given input stream and deserialize it, asynchronously.
The default I/O priority is `G_PRIORITY_DEFAULT` (i.e. 0), and lower numbers indicate a higher priority.
Parameters:
stream |
a `GInputStream` to read the serialized content from |
mime_type |
the mime type to deserialize from |
type |
the GType to deserialize from |
io_priority |
the I/O priority of the operation |
cancellable |
optional `GCancellable` object |
callback |
callback to call when the operation is done |
user_data |
data to pass to the callback function |
Namespace: Gdk
Package: gtk4