From f9986cf15a5b4d959c3e0c7d31cfe482de87ff6f Mon Sep 17 00:00:00 2001 From: Devon Govett Date: Sun, 13 Apr 2014 19:54:33 -0700 Subject: [PATCH] End the stream --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 44a57fd..0db4707 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,7 @@ stream = doc.pipe(blobStream()) # add your content to the document here, as usual # get a blob when you're done +doc.end() stream.on 'finish', -> # get a blob you can do whatever you like with blob = stream.toBlob('application/pdf')