mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: promisify session.getBlobData() (#17303)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user