mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Make external script sources load asynchronously, yet still block further parsing. Hook up document loading to async networking events.
This commit is contained in:
parent
e52197d126
commit
8082df7d0d
32 changed files with 441 additions and 276 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue