Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promisify transformer #113

Merged
merged 2 commits into from
Dec 16, 2019
Merged

Promisify transformer #113

merged 2 commits into from
Dec 16, 2019

Conversation

tomajwinter
Copy link

This PR rewrites the Transformer message and mopidyCoreMessage functions to return a promise. This should hopefully improve the control flow of these bits of code, but also will open up using asyncronous behaviour inside the flow of these messages

(This change will help the next thing I'm doing which is to include Mongo document info in the track decoration so we append user & play info)

Copy link
Member

@whomwah whomwah left a comment

Choose a reason for hiding this comment

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

Awesome, let's get this merged.

@tomajwinter tomajwinter merged commit 43f5a49 into master Dec 16, 2019
@tomajwinter tomajwinter deleted the promisify-transformer branch December 16, 2019 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants