Skip to content

feat: promisify session cache methods - #17185

Merged
codebytere merged 1 commit into
masterfrom
promisify-session
Mar 8, 2019
Merged

codebytere merged 1 commit into
masterfrom
promisify-session

Conversation

@codebytere

@codebytere codebytere commented Mar 1, 2019 •

Copy link
Copy Markdown
Member

Description of Change

Promisify session.getCacheSize() and session.clearCache().

cc @deepak1556 @zcbenz

Checklist

Release Notes

Notes: Converted session.getCacheSize() and session.clearCache() to return promises instead of taking callbacks.

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Mar 1, 2019
@codebytere
codebytere marked this pull request as ready for review March 1, 2019 20:08
@codebytere codebytere added the semver/minor backwards-compatible functionality label Mar 1, 2019
Comment thread atom/browser/api/atom_api_session.cc Resolved
Comment thread atom/browser/api/atom_api_session.cc Resolved
Comment thread atom/browser/api/atom_api_session.cc Resolved
Comment thread atom/browser/api/atom_api_session.cc Resolved
Comment thread atom/browser/api/atom_api_session.cc Resolved
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Mar 2, 2019
Comment thread docs/api/session.md Resolved
@deepak1556

Copy link
Copy Markdown
Member

Would like to see this cleaned up after the suggested code style changes in #17222

@codebytere codebytere changed the title feat: promisify some session methods feat: promisify session cachemethods Mar 7, 2019
@codebytere codebytere changed the title feat: promisify session cachemethods feat: promisify session cache methods Mar 7, 2019
Comment thread docs/api/session.md Resolved
Comment thread docs/api/session.md Resolved
Comment thread docs/api/session.md Resolved
@codebytere
codebytere requested a review from deepak1556 March 8, 2019 04:13

@deepak1556 deepak1556 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with some style changes.

Comment thread atom/browser/api/atom_api_session.cc Resolved
Comment thread atom/browser/api/atom_api_session.cc Resolved
Comment thread atom/browser/api/atom_api_session.cc Resolved
@codebytere
codebytere merged commit fc10620 into master Mar 8, 2019
@release-clerk

release-clerk Bot commented Mar 8, 2019

Copy link
Copy Markdown

Release Notes Persisted

Converted session.getCacheSize() and session.clearCache() to return promises instead of taking callbacks.

@codebytere
codebytere deleted the promisify-session branch March 8, 2019 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants