Skip to content

async methods #34

Closed
Closed
@mikej0

Description

@mikej0

Hello,

I haven't seen a mention of this in the docs.

I'm working with fluent interfaces that call an API, so the last method call in a chain will fire off the request. When I work on the classes manually, I usually have a Send() method which just calls it's neighbour SendAsync() synchronously, so I have the option. If it can't yet, is it possible to detect method signatures with async in it and have it return the Task<IInterface> instead of only the IInterface? Or is there already a way I should be approaching this?

Good work though - looks like this will save me a massive amount of time!

Thanks,

Mike

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions