Add documentation and/or support for asynchronous decode() and encode() methods.
Two scenarios I'm thinking of facilitating,
- Encoding/decoding large data sets
- Streaming data (send the data that has been generated so far, but defer the rest of the document for a later time).