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

Create method for wrapping channel methods in a single line #1

Open
azzlack opened this issue Feb 2, 2015 · 0 comments
Open

Create method for wrapping channel methods in a single line #1

azzlack opened this issue Feb 2, 2015 · 0 comments
Assignees

Comments

@azzlack
Copy link
Owner

azzlack commented Feb 2, 2015

Would be nice to do like this:

var result = await this.proxy.Run(x => x.DoSomething());

instead of

object result = null;

await this.proxy.Use(x => {
    result = x.DoSomething();
});
@azzlack azzlack self-assigned this Feb 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant