contentDeserializeAsync

fnvoid contentDeserializeAsync(gio.input_stream.InputStream stream, string mimeType, gobject.types.GType type, int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Read content from the given input stream and deserialize it, asynchronously.

The default I/O priority is [glib.types.PRIORITY_DEFAULT] (i.e. 0), and lower numbers indicate a higher priority.

When the operation is finished, callback will be called. You must then call funcGdk.content_deserialize_finish to get the result of the operation.

Parameters

streama [gio.input_stream.InputStream] to read the serialized content from
mimeTypethe mime type to deserialize from
typethe GType to deserialize from
ioPrioritythe I/O priority of the operation
cancellableoptional [gio.cancellable.Cancellable] object
callbackcallback to call when the operation is done