641b47f384
* feat: promisify contentTracing.getCategories() * deprecate contentTracing/getCategories
7 lines
232 B
JavaScript
7 lines
232 B
JavaScript
'use strict'
|
|
const { deprecate } = require('electron')
|
|
const contentTracing = process.atomBinding('content_tracing')
|
|
|
|
contentTracing.getCategories = deprecate.promisify(contentTracing.getCategories)
|
|
|
|
module.exports = contentTracing
|