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

send and forget api for proxy #72

Closed
wants to merge 1 commit into from
Closed

Conversation

mylokin
Copy link

@mylokin mylokin commented Apr 8, 2017

added method _CallableProxy.defer. it adds api for "send and forget" messaging.

@jodal
Copy link
Owner

jodal commented Apr 10, 2017

I like the idea. This can replace a couple of hacks we have in Mopidy to send messages without blocking through the proxies.

@jodal jodal added this to the v1.3 milestone Jan 21, 2019
@jodal jodal changed the title send and forget api for proxy #63 send and forget api for proxy Mar 9, 2019
@jodal jodal closed this in 5752c15 Mar 10, 2019
@jodal jodal mentioned this pull request Mar 10, 2019
@jodal
Copy link
Owner

jodal commented Mar 10, 2019

Thanks for your contribution. I'm sorry I taken so long to get around to this.

Pykka 2.0 will include a defer() method, directly based on this PR, to call a proxy method with tell semantics. See https://www.pykka.org/en/develop/api/proxies/#pykka.CallableProxy.defer for docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants