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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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