parse_stream_async


Description:

public async bool parse_stream_async (InputStream input, Cancellable? cancellable) throws Error

Parse items from the data in a InputStream.

This function completes asyncronously and doesn't block.

The parsed and authenticate signals may fire during the parsing.

Parameters:

this

The parser

input

The input stream

cancellable

An optional cancellation object

callback

Called when the operation result is ready.

user_data

Data to pass to callback