Gcr.Parser.prototype.parse_stream_async

function parse_stream_async(input: Gio.InputStream, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for gcr_parser_parse_stream_async()
}
  

Parse items from the data in a Gio.InputStream. This function completes asyncronously and doesn't block.

The Gcr.Parser::parsed and Gcr.Parser::authenticate signals may fire during the parsing.

input

The input stream

cancellable

An optional cancellation object

callback

Called when the operation result is ready.