feat: promisify session.getBlobData() (#17303)

This commit is contained in:
Shelley Vohr
2019-03-14 08:11:01 -07:00
committed by GitHub
parent c082b3964c
commit aa8b66aae1
8 changed files with 45 additions and 38 deletions

View File

@@ -512,6 +512,14 @@ Returns `String` - The user agent for this session.
* `callback` Function
* `result` Buffer - Blob data.
**[Deprecated Soon](promisification.md)**
#### `ses.getBlobData(identifier)`
* `identifier` String - Valid UUID.
Returns `Promise<Buffer>` - resolves with blob data.
#### `ses.createInterruptedDownload(options)`
* `options` Object