contentDeserializeAsync
fn
void 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
stream | a [gio.input_stream.InputStream] to read the serialized content from |
mimeType | the mime type to deserialize from |
type | the GType to deserialize from |
ioPriority | the I/O priority of the operation |
cancellable | optional [gio.cancellable.Cancellable] object |
callback | callback to call when the operation is done |