Previous|Next|Index
Asynchronous Document Reader
- Callback-based pseudo-threading approach
- Callback invoked from Tk main loop
- when select indicates I/O ready
- Callback reads data via cache
- Handles errors that should result in transparent retry
- Handles errors that should silently quit
- Choose parser based on document type
- Extensions may provide new parsers
- Fall-back based on .mailcap
- If no .mailcap entry, asks user where to save the file