Make external script sources load asynchronously, yet still block further parsing. Hook up document loading to async networking events.

This commit is contained in:
Josh Matthews 2015-03-11 10:44:59 -04:00
parent e52197d126
commit 8082df7d0d
32 changed files with 441 additions and 276 deletions

View file

@ -5,6 +5,6 @@
pub mod html;
pub trait Parser {
fn parse_chunk(&self,input: String);
fn finish(&self);
fn parse_chunk(self, input: String);
fn finish(self);
}