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

Conversation

Projects
None yet
2 participants
@mylokin
Copy link

commented Apr 8, 2017

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

@jodal

This comment has been minimized.

Copy link
Owner

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 referenced this pull request Mar 10, 2019

Closed

on_failure for proxy #63

@jodal

This comment has been minimized.

Copy link
Owner

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
You can’t perform that action at this time.