Skip to content

Async methods for Result.Map #604

@regismantunes

Description

@regismantunes

Include overload for Map method to accept async operations

public async Task<ClassB> GetClassBByClassAAsync() { return Result.Success(await _service1.GetClassAAsync()) .Map(r => _service2.GetClassBAsync(r)) }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions